Files
fedora-runner-image/.gitea/workflows/build-push.yml
Lukas Greve 953c9a29b9
All checks were successful
Build and Push Docker Image / build (push) Successful in 32s
test new tagging
2025-11-14 22:18:45 +01:00

28 lines
741 B
YAML

name: Build and Push Docker Image
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: git.phyllo.me
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
git.phyllo.me/devops/fedora-runner-image-main:latest
git.phyllo.me/devops/fedora-runner-image:main-${{ github.sha }}
build-args: |
BUILD_IDENTIFIER=${{ github.sha }}