default-runner/.gitea/workflows/deployment.yaml
Nagy Tamás (T-bond) 731ca17bd8
Some checks failed
Deployment / Checkout (push) Failing after 23s
Add deployment workflow
2024-10-13 18:36:15 +02:00

25 lines
618 B
YAML

name: Deployment
on:
workflow_dispatch:
push:
branches:
- master
jobs:
Checkout:
runs-on: dind
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Package Registry
uses: docker/login-action@v3
with:
registry: git.t-bond.hu
username: ${{ secrets.PACKAGE_REGISTRY_USERNAME }}
password: ${{ secrets.PACKAGE_REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: git.t-bond.hu/services/default-runner:latest