Files
NetBird-UptimeKuma/.gitea/workflows/crea-container.yaml
La Programmatrice Verde d139f10962
Some checks failed
Compila e pubblica sul registro integrato / Build-Docker-Image (push) Failing after 4s
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 4s
Prova pipeline 5
2025-12-30 00:07:08 +01:00

23 lines
834 B
YAML

name: Compila e pubblica sul registro integrato
on: [push]
jobs:
Build-Docker-Image:
runs-on: linux_amd64
container: catthehacker/ubuntu-act:latest
steps:
- name: Login to Docker Registry
run: echo "${{ secrets.REGISTRYTOKEN }}" | docker login "${{ vars.REGISTRY_URL }}" -u "${{ github.repository_owner }}" --password-stdin
- name: Checkout Repository (sha-256 patch)
uses: https://github.com/yangskyboxlabs/action-checkout@b9de40a2281eb217887b8290be4254823d67a20b # Same as actions/checkout@v4, but with sha256
with:
object-format: sha256
- name: Build Docker image
run: |
docker build -t ${{ github.repository }}:latest .
- name: Push Docker image
run: |
docker push "${{ github.repository }}:latest"