mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-02-12 16:12:44 +00:00
add production image build
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
@@ -96,6 +96,23 @@ jobs:
|
||||
phishingclub \
|
||||
phishingclub.sig
|
||||
|
||||
- name: Build and push production Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile.release
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:${{ steps.get_version.outputs.VERSION }}
|
||||
ghcr.io/${{ github.repository }}:latest
|
||||
labels: |
|
||||
org.opencontainers.image.title=PhishingClub
|
||||
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: |
|
||||
|
||||
2
.github/workflows/test-build.yml
vendored
2
.github/workflows/test-build.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
||||
mkdir -p backend/frontend/build
|
||||
cp -r frontend/build/* backend/frontend/build/
|
||||
|
||||
- name: Build single binary with all features
|
||||
- name: Build binary
|
||||
run: |
|
||||
sudo docker run --rm \
|
||||
-v "$(pwd)":/app \
|
||||
|
||||
Reference in New Issue
Block a user