From 2305f8ca37a344e70ab30965537d7e37e397c126 Mon Sep 17 00:00:00 2001 From: Taylor Downs Date: Wed, 8 Nov 2023 16:25:17 +0000 Subject: [PATCH] extract tag name --- .github/workflows/dockerize.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dockerize.yaml b/.github/workflows/dockerize.yaml index 20dec3053..6d3f0917c 100644 --- a/.github/workflows/dockerize.yaml +++ b/.github/workflows/dockerize.yaml @@ -11,11 +11,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - images: openfn/ws-worker + - name: Branch name + id: tag + run: | + echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/} - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx @@ -31,5 +30,6 @@ jobs: context: . push: ${{ github.event_name != 'pull_request' }} target: ws-worker - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} + tags: | + openfn/ws-worker:latest + ${{ steps.tag.outputs.SOURCE_TAG }}