Update .gitea/workflows/build-packages.yaml
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s Details

This commit is contained in:
DrMaxNix 2024-04-20 17:38:09 +02:00
parent 80ae182bbf
commit 92afe04d52
1 changed files with 5 additions and 5 deletions

View File

@ -13,16 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: https://github.com/actions/checkout@v4
uses: actions/checkout@v4
- name: Login to DockerHub Container Registry
uses: https://github.com/docker/login-action@v3
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Login to Git Container Registry
uses: https://github.com/docker/login-action@v3
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY_GIT }}
username: ${{ secrets.GIT_PACKREG_USERNAME }}
@ -30,7 +30,7 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: https://github.com/docker/metadata-action@v5
uses: docker/metadata-action@v5
with:
images: |
${{ env.IMAGE_NAME }}
@ -43,7 +43,7 @@ jobs:
org.opencontainers.image.licenses=MIT
- name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5
uses: docker/build-push-action@v5
with:
context: .
push: true