This commit is contained in:
parent
6d91d53b08
commit
731ca17bd8
1 changed files with 25 additions and 0 deletions
25
.gitea/workflows/deployment.yaml
Normal file
25
.gitea/workflows/deployment.yaml
Normal 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
|
||||
Loading…
Add table
Reference in a new issue