From 8f02be6218a5315374818329eb844c7c83d88178 Mon Sep 17 00:00:00 2001 From: Ronni Skansing Date: Sun, 26 Oct 2025 10:45:08 +0100 Subject: [PATCH] add release Signed-off-by: Ronni Skansing --- .github/workflows/release.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e42bce..c03c95f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,6 +96,25 @@ jobs: phishingclub \ phishingclub.sig + - name: Build and push release Docker image + uses: docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile.release + push: true + platforms: linux/amd64 + tags: | + ghcr.io/${{ github.repository }}:latest + ghcr.io/${{ github.repository }}:${{ steps.get_version.outputs.VERSION }} + labels: | + org.opencontainers.image.title=PhishingClub ${{ steps.get_version.outputs.VERSION }} + org.opencontainers.image.description=PhishingClub production release image (linux/amd64). Built from tag ${{ steps.get_version.outputs.TAG }}. + org.opencontainers.image.url=${{ github.server_url }}/${{ github.repository }} + org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }} + org.opencontainers.image.version=${{ steps.get_version.outputs.VERSION }} + org.opencontainers.image.created=${{ github.event.head_commit.timestamp }} + org.opencontainers.image.revision=${{ github.sha }} + - name: Extract release notes from RELEASE.md id: get_release_notes run: |