Skip to content

Commit

Permalink
fix(boss): build with arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
groenator committed May 11, 2024
1 parent 6b7aa81 commit 4629a60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ jobs:
uses: docker/[email protected]
with:
context: .
build-args: |
LATEST_TAG=${{ env.LATEST_TAG }}
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.LATEST_TAG }}-x86
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.LATEST_TAG }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=ma
Expand All @@ -81,6 +83,8 @@ jobs:
uses: docker/[email protected]
with:
context: .
build-args: |
LATEST_TAG=${{ env.LATEST_TAG }}
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/arm64
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.LATEST_TAG }}-arm
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM consol/debian-xfce-vnc:latest
ENV LC_ALL=C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
ARG LATEST_TAG
# Switch to root temporarily to perform system updates

USER 0

# Set the working directory
Expand Down

0 comments on commit 4629a60

Please sign in to comment.