From 2c88e98cfb616c6f14bd25437cc63fd8cf869670 Mon Sep 17 00:00:00 2001 From: Steffen Hildebrandt Date: Thu, 23 May 2024 15:40:49 +0200 Subject: [PATCH] fix docker version --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 12eb840..4e28847 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,8 +31,8 @@ jobs: env GOOS=windows GOARCH=amd64 go build -ldflags "-w -s" -o logicng-service-win.exe main.go - name: Build and Push Docker Image run: | - docker build . -t ghcr.io/booleworks/logicng-service:${{ github.ref }} - docker push ghcr.io/booleworks/logicng-service:${{ github.ref }} + docker build . -t ghcr.io/booleworks/logicng-service:$(echo ${{ github.ref }} | cut -c 2-) + docker push ghcr.io/booleworks/logicng-service:$(echo ${{ github.ref }} | cut -c 2-) - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: