Skip to content

Commit

Permalink
Merge pull request #67 from kkrypt0nn/main
Browse files Browse the repository at this point in the history
Publish a docker tag for released version
  • Loading branch information
evilsocket authored Jan 17, 2025
2 parents 281087e + 8bf4a0e commit 8d736ba
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Push Docker Images
on:
push:
tags:
- '*'
- "v*"

jobs:
docker:
Expand All @@ -20,9 +20,13 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract version tag
run: echo "VERSION_TAG=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
push: true
tags: evilsocket/legba:latest
tags: |
evilsocket/legba:latest
evilsocket/legba:${{ env.VERSION_TAG }}

0 comments on commit 8d736ba

Please sign in to comment.