25 lines
618 B
YAML
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
|