Skip to content

fix: redis-cluster (#85) #22

fix: redis-cluster (#85)

fix: redis-cluster (#85) #22

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