create b0t-main #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: . | |
file: Documentation/Build/Dockerfile | |
push: true | |
tags: ${{ env.IMAGE_BASE_TAG }}:latest |