Files
pelican-debian32/.gitea/workflows/deploy.yaml
T
edraft 864592a564
Deploy on push / build (push) Successful in 25s
Deploy on push / push (push) Successful in 1m0s
.gitea/workflows/deploy.yaml aktualisiert
2026-07-08 20:43:22 +02:00

45 lines
1.2 KiB
YAML

name: Deploy on push
run-name: Deploy on push
on:
push:
branches:
- master
jobs:
build:
runs-on: [runner]
container: catthehacker/ubuntu:act-latest
steps:
- name: Setup docker
uses: https://github.com/papodaca/install-docker-action@main
- run: docker -v
- name: Clone Repository
uses: https://github.com/actions/checkout@v3
with:
token: ${{ secrets.CI_ACCESS_TOKEN }}
submodules: true
- name: Build pelican-debian32 image
run: |
docker build -t gitreg.sh-edraft.de/sh-edraft.de/pelican-debian32:latest .
push:
needs: build
runs-on: [runner]
container: catthehacker/ubuntu:act-latest
steps:
- name: Setup docker
uses: https://github.com/papodaca/install-docker-action@main
- run: docker -v
- name: Login to registry git.sh-edraft.de
uses: https://github.com/docker/login-action@v1
with:
registry: gitreg.sh-edraft.de
username: ${{ secrets.CI_USERNAME }}
password: ${{ secrets.CI_ACCESS_TOKEN }}
- name: Push image
run: docker push gitreg.sh-edraft.de/sh-edraft.de/pelican-debian32