ansible-actions-container/.forgejo/workflows/build-container.yml
Elia el Lazkani 2acba51aaa
Some checks failed
build-container / docker (push) Failing after 3m19s
chore(): Adds a build container pipeline and a working Dockerfile
2024-03-30 22:19:26 +01:00

33 lines
714 B
YAML

name: build-container
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: pi
container:
image: python:3.12.2-slim-bookworm
steps:
- name: Install dependencies
id: dependencies
run: |
apt-get update
apt-get install -y -qq nodejs git
- 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: .
push: false
tags: scm.project42.io/elia/ansible-actions-container:latest