Compare commits
2 commits
c94fb2d057
...
3539140df7
Author | SHA1 | Date | |
---|---|---|---|
3539140df7 | |||
7a8aeec393 |
1 changed files with 8 additions and 1 deletions
|
@ -10,6 +10,7 @@ jobs:
|
||||||
runs-on: pi
|
runs-on: pi
|
||||||
container:
|
container:
|
||||||
image: scm.project42.io/elia/docker-actions-container:latest
|
image: scm.project42.io/elia/docker-actions-container:latest
|
||||||
|
options: --sysctl net.ipv6.conf.all.disable_ipv6=0 --privileged
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -20,13 +21,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
|
||||||
|
|
Loading…
Reference in a new issue