Skip to content

Commit

Permalink
Update create-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
preetkaran20 authored Dec 29, 2022
1 parent b326b73 commit e5be410
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
id: TAG
run: |
echo "::set-output name=LATEST_VERSION::$(git tag | sort -Vr | head -n 1)"
- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
platforms: all
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand All @@ -41,7 +48,10 @@ jobs:
name: Push docker images
uses: docker/build-push-action@v2
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
push: true
platforms: linux/amd64,linux/arm64/v8
tags: |
sasanlabs/owasp-vulnerableapp-facade:latest
sasanlabs/owasp-vulnerableapp-facade:${{ steps.TAG.outputs.LATEST_VERSION }}

0 comments on commit e5be410

Please sign in to comment.