updated pipeline
This commit is contained in:
parent
aabd512dcc
commit
fea5ab151a
1 changed files with 3 additions and 5 deletions
|
@ -9,22 +9,20 @@ jobs:
|
||||||
docker:
|
docker:
|
||||||
name: Build and Push Docker image
|
name: Build and Push Docker image
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
# container:
|
|
||||||
# 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: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
|
|
Loading…
Add table
Reference in a new issue