Skip to content

Commit 0e4fabb

Browse files
committed
Update docker-build-publish.yml
1 parent b180191 commit 0e4fabb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12+
environment: production
1213
steps:
1314
- uses: actions/checkout@v4
1415
- name: Prepare environment variables
@@ -38,6 +39,8 @@ jobs:
3839
name: c2dhunilu/ww2
3940
username: ${{ secrets.DOCKERHUB_USERNAME }}
4041
password: ${{ secrets.DOCKERHUB_TOKEN }}
42+
buildoptions: '--compress --force-rm'
43+
platforms: linux/amd64,linux/arm64
4144
buildargs: |
4245
GIT_TAG,GIT_BRANCH,GIT_COMMIT_SHA,BUILD_DATE,GIT_LAST_COMMIT_DATE,VITE_API_KEY_MAPBOX,VITE_API_STYLE_MAPBOX_BLUEPRINT,VITE_API_STYLE_MAPBOX_MSF,VITE_API_STYLE_MAPBOX_GEO,VITE_API_MAPTILER,VITE_ROOT,VITE_EMAIL,VITE_VIDEO_TRAILER_HOME
4346
tags: 'latest'

0 commit comments

Comments
 (0)