From 3c151be43d42cec0d8a582a8231d91320a1059b4 Mon Sep 17 00:00:00 2001 From: pommes Date: Thu, 31 Aug 2023 21:16:57 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b90382..b385522 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,3 +32,19 @@ jobs: docker login --username pommes --password ${{ secrets.GHCR_IMAGE_REGISTRY_SECRET }} ghcr.io docker build . --tag ghcr.io/pommes/nginx-proxy-metrics:latest docker push ghcr.io/pommes/nginx-proxy-metrics:latest + + - name: Release + if: startsWith(github.event.ref, 'refs/tags/v') + uses: brpaz/action-semantic-release@v1 + with: + dry_run: "false" + install_plugins: "semantic-release-docker semantic-release-gcr" + branch: main + + + + + + + +