Skip to content

Commit

Permalink
Merge pull request #18 from tls-attacker/dev
Browse files Browse the repository at this point in the history
readd build on tags
  • Loading branch information
Conradowatz authored Feb 21, 2024
2 parents 2733536 + 52f014f commit 3ceba98
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: "Docker: Build and Push Image"
on:
push:
branches: [ "main" ]
tags:
- v**
pull_request:
branches: [ "main" ]

Expand Down Expand Up @@ -40,6 +42,8 @@ jobs:
id: meta
with:
images: ghcr.io/tls-attacker/anvil-web
flavor: |
suffix=-reportgen,onlatest=true
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand All @@ -52,5 +56,5 @@ jobs:
context: .
file: Dockerfile_report_generator
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
tags: ${{ steps.meta.outputs.tags }}-reportgen
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 3ceba98

Please sign in to comment.