Compare commits

...

2 commits

Author SHA1 Message Date
3539140df7 chore(): Adds container options
Some checks failed
build-container / docker (push) Has been cancelled
2024-03-31 11:10:57 +02:00
7a8aeec393 chore(): Fixes registry authentication 2024-03-31 00:36:45 +01:00

View file

@ -10,6 +10,7 @@ jobs:
runs-on: pi
container:
image: scm.project42.io/elia/docker-actions-container:latest
options: --sysctl net.ipv6.conf.all.disable_ipv6=0 --privileged
steps:
- name: Checkout
uses: actions/checkout@v4
@ -20,13 +21,19 @@ jobs:
- name: Set up Docker Buildx
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
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/arm64
push: true
github_token: ${{ secrets.REPOSITORY_SECRET }}
tags: |
scm.project42.io/elia/ansible-actions-container:latest
scm.project42.io/elia/ansible-actions-container:python-3.12.2