Skip to content

Commit

Permalink
add workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
Utesgui authored Mar 20, 2024
1 parent 16c49d3 commit de7cbe1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: HRConvert2 Image

on:
workflow_dispatch:
push:
branches:
- b0t-main
env:
IMAGE_BASE_TAG: git.b0t.at/b0t-at/hrconvert2

jobs:
build-and-push-image:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ${{ vars.registry_uri }}
username: ${{ secrets.registry_username }}
password: ${{ secrets.registry_password }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
Dockerfile: Documentation/Build/Dockerfile
push: true
tags: ${{ env.IMAGE_BASE_TAG }}:latest

0 comments on commit de7cbe1

Please sign in to comment.