From 0969d11f81f60584b83d0c2c74a41faf6e282e52 Mon Sep 17 00:00:00 2001 From: Taylor Downs Date: Wed, 8 Nov 2023 16:41:01 +0000 Subject: [PATCH] more --- .github/workflows/dockerize.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dockerize.yaml b/.github/workflows/dockerize.yaml index 2209d2259..3b8ee24c6 100644 --- a/.github/workflows/dockerize.yaml +++ b/.github/workflows/dockerize.yaml @@ -11,10 +11,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Get tag - id: tag + - name: Branch name + id: branch_name run: | - echo ::set-output name=SOURCE_TAG::${${GITHUB_REF#refs/tags/}:1} + SOURCE_TAG=${GITHUB_REF#refs/tags/} + echo Source Tag: $SOURCE_TAG + DOCKER_VERSION_TAG=${SOURCE_TAG#@} + echo "DOCKER_VERSION_TAG=$DOCKER_VERSION_TAG" >> $GITHUB_ENV - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx @@ -32,4 +35,4 @@ jobs: target: ws-worker tags: | openfn/ws-worker:latest - ${{ steps.tag.outputs.SOURCE_TAG }} + ${DOCKER_VERSION_TAG}