rsyncd-docker/.gitea/workflows/docker_build.yaml
dresi a35fd03b50
All checks were successful
Build and push container image / build-and-push-image (push) Successful in 7m4s
.gitea/workflows/docker_build.yaml aktualisiert
2025-11-10 17:52:36 +01:00

31 lines
942 B
YAML

name: Build and push container image
run-name: ${{ gitea.actor }} is building and pushing container image
on: [push]
env:
REGISTRY_DOMAIN: harbor.lan
REGISTRY_USER: act_runner
REGISTRY_PASSWORD: "LibgegWaltAtcogwecGaj@Knyajes4"
RESULT_IMAGE_NAME: tools/rsyncd
jobs:
build-and-push-image:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to registry
uses: docker/login-action@v1
with:
#registry: ${{ env.REGISTRY_DOMAIN }}
#username: ${{ env.REGISTRY_USERNAME }}
#password: ${{ env.REGISTRY_PASSWORD }}
registry: ${{ env.REGISTRY_DOMAIN }}
username: act_runner
password: LibgegWaltAtcogwecGaj@Knyajes4
- name: Build and push image
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ env.REGISTRY_DOMAIN }}/${{ env.RESULT_IMAGE_NAME }}:latest