Skip to content

Commit

Permalink
temp disable prod docker image build
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Szakacs <[email protected]>
  • Loading branch information
alltilla committed Dec 13, 2023
1 parent 076744b commit 382cd71
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/syslog-ng-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,20 @@ jobs:
echo "TAGS=$TAGS" >> $GITHUB_OUTPUT
echo "DEBUG_TAGS=$DEBUG_TAGS" >> $GITHUB_OUTPUT
- name: Build and push production Docker image
uses: docker/build-push-action@v3
with:
context: syslog-ng
file: syslog-ng/alpine.dockerfile
platforms: ${{ env.PLATFORMS }}
push: true
tags: ${{ steps.tags.outputs.TAGS }}
# description should be here because it is a multi-arch image
# see docs: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#adding-a-description-to-multi-arch-images
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=${{ fromJSON(steps.docker-metadata-tags.outputs.json).labels['org.opencontainers.image.description'] }}
build-args: |
PKG_TYPE=${{ inputs.pkg-type }}
SNAPSHOT_VERSION=${{ inputs.snapshot-version }}
# - name: Build and push production Docker image
# uses: docker/build-push-action@v3
# with:
# context: syslog-ng
# file: syslog-ng/alpine.dockerfile
# platforms: ${{ env.PLATFORMS }}
# push: true
# tags: ${{ steps.tags.outputs.TAGS }}
# # description should be here because it is a multi-arch image
# # see docs: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#adding-a-description-to-multi-arch-images
# outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=${{ fromJSON(steps.docker-metadata-tags.outputs.json).labels['org.opencontainers.image.description'] }}
# build-args: |
# PKG_TYPE=${{ inputs.pkg-type }}
# SNAPSHOT_VERSION=${{ inputs.snapshot-version }}

- name: Build and push debug Docker image
uses: docker/build-push-action@v3
Expand Down

0 comments on commit 382cd71

Please sign in to comment.