Create Docker workflow and Dockerfile for image build and push
All checks were successful
Push Docker image / build (push) Successful in 3m50s

This commit is contained in:
Edgar P. Burkhart 2025-05-05 16:59:46 +02:00
commit 050810404d
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
name: Push Docker image
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: code.edgarpierre.fr
username: ${{ vars.DOCKER_PUSH_USERNAME }}
password: ${{ secrets.DOCKER_PUSH_PASSWORD }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: code.edgarpierre.fr/edpibu/uv-act:${{ github.ref_name }}

2
Dockerfile Normal file
View file

@ -0,0 +1,2 @@
FROM ghcr.io/catthehacker/ubuntu:act-latest
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/