Skip to content

Merge pull request #87 from fsr5-fhaachen/TitusKirch-patch-1 #24

Merge pull request #87 from fsr5-fhaachen/TitusKirch-patch-1

Merge pull request #87 from fsr5-fhaachen/TitusKirch-patch-1 #24

Workflow file for this run

name: Docker CI (staging)
on:
push:
branches: [dev]
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push docker
run: |
docker build -f ./Dockerfile . --tag ${{ env.REGISTRY }}/fsr5-fhaachen/strichlistensystem:dev
docker push ${{ env.REGISTRY }}/fsr5-fhaachen/strichlistensystem:dev