ansible-actions-container/.forgejo/workflows/build-container.yml
Elia el Lazkani c94fb2d057
Some checks failed
build-container / docker (push) Failing after 2s
chore(): Migrates to the custom built container image
- Clean up of unnecessary steps
2024-03-31 00:21:29 +01:00

32 lines
773 B
YAML

name: build-container
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: pi
container:
image: scm.project42.io/elia/docker-actions-container:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- 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