Skip to content

Commit

Permalink
add docker file param
Browse files Browse the repository at this point in the history
  • Loading branch information
karlkern committed Aug 17, 2024
1 parent 799e6c9 commit b1cd6fd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-rp-nginx-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ jobs:
- name: build and push image
run: |
echo ${{ steps.variables.outputs.image_id }}
docker build --tag ${{ steps.variables.outputs.image_id }}:${{ steps.variables.outputs.version_no }} --build-arg "BUILD_VERSION=${{ steps.variables.outputs.version_no }}" --platform linux/amd64 --no-cache .
docker build \
--tag ${{ steps.variables.outputs.image_id }}:${{ steps.variables.outputs.version_no }} \
--build-arg "BUILD_VERSION=${{ steps.variables.outputs.version_no }}" \
--platform linux/amd64 \
--no-cache
--file ./docker-builds/rp-nginx/docker-alpine-rp-nginx \
.
docker push ${{ steps.variables.outputs.image_id }}:${{ steps.variables.outputs.version_no }}
shell: bash
- name: tag latest
Expand Down

0 comments on commit b1cd6fd

Please # to comment.