Skip to content

Commit dc930d5

Browse files
committed
Add Docker build workflow
1 parent 2c5c7f9 commit dc930d5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/docker-build-secretvm.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ name: Build and Push Docker Image
22

33
on:
44
push:
5+
branches:
6+
- master
57
tags: "v[0-9]+.[0-9]+.[0-9]+"
68

9+
permissions:
10+
contents: write
11+
packages: write
12+
713
jobs:
814
build-and-push:
915
runs-on: ubuntu-latest
@@ -61,7 +67,7 @@ jobs:
6167
app:
6268
image: ghcr.io/${{ steps.set_repo.outputs.REPO_NAME }}@sha256:${{ steps.push.outputs.IMAGE_HASH }}
6369
ports:
64-
- '3000:80'
70+
- '8000:8000'
6571
EOL
6672
6773
- name: Commit docker-compose-secretvm.yaml

0 commit comments

Comments
 (0)