Add deployment workflow
Some checks failed
Deployment / Checkout (push) Failing after 23s

This commit is contained in:
Nagy Tamás (T-bond) 2024-10-13 18:29:01 +02:00
parent 6d91d53b08
commit 731ca17bd8

View file

@ -0,0 +1,25 @@
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