chore(): Fixes registry authentication

This commit is contained in:
Elia el Lazkani 2024-03-31 00:36:45 +01:00
parent c94fb2d057
commit 7a8aeec393

View file

@ -20,13 +20,19 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Login to Forgejo Container Registry
uses: docker/login-action@v3
with:
registry: scm.project42.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REPOSITORY_SECRET }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
platforms: linux/arm64 platforms: linux/arm64
push: true push: true
github_token: ${{ secrets.REPOSITORY_SECRET }}
tags: | tags: |
scm.project42.io/elia/ansible-actions-container:latest scm.project42.io/elia/ansible-actions-container:latest
scm.project42.io/elia/ansible-actions-container:python-3.12.2 scm.project42.io/elia/ansible-actions-container:python-3.12.2