updated pipeline
Some checks failed
Build and Push Docker image / Build and Push Docker image (push) Failing after 35s
Some checks failed
Build and Push Docker image / Build and Push Docker image (push) Failing after 35s
This commit is contained in:
parent
a9284d6071
commit
1e20831f86
1 changed files with 9 additions and 5 deletions
|
@ -8,21 +8,25 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
name: Build and Push Docker image
|
name: Build and Push Docker image
|
||||||
runs-on: docker
|
runs-on: docker-cli
|
||||||
container:
|
# container:
|
||||||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
# image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Login to cr.sp-codes.de
|
- name: Login to cr.sp-codes.de
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: cr.sp-codes.de
|
registry: cr.sp-codes.de
|
||||||
username: ${{ secrets.CR_USERNAME }}
|
username: ${{ secrets.CR_USERNAME }}
|
||||||
password: ${{ secrets.CR_TOKEN }}
|
password: ${{ secrets.CR_TOKEN }}
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Reference in a new issue