Skip to content

fix broken filters

fix broken filters #12

Workflow file for this run

name: "Docker: Build and Push Image"
on:
push:
branches: [ "main" ]
tags:
- v**
jobs:
build:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker meta
uses: docker/metadata-action@v5
id: meta
with:
images: ghcr.io/tls-attacker/anvil-web
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_REGISTRY_WRITE }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}