Skip to content

Commit

Permalink
extract tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
taylordowns2000 committed Nov 8, 2023
1 parent 7512681 commit 2305f8c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dockerize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit 2305f8c

Please sign in to comment.