Skip to content

Commit

Permalink
Fix issues with Docker workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferroin committed Mar 6, 2024
1 parent a0c2b9c commit 2a4c3af
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
.github/workflows/docker.yml
.github/scripts/docker-test.sh
.github/scripts/gen-docker-tags.py
.github/scripts/gen-docker-build-info.py
.github/scripts/gen-docker-imagetool-args.py
packaging/cmake/
packaging/docker/
Expand Down Expand Up @@ -259,7 +258,7 @@ jobs:
platforms: ${{ matrix.platform }}
cache-from: type=local,src=/tmp/build-cache
build-args: OFFICIAL_IMAGE=${{ env.OFFICIAL_IMAGE }}
outputs: type=image,name=netdata/netdata,push-by-digest=true,name-canonical=true,push=true
outputs: type=image,name=netdata/netdata-ci-test,push-by-digest=true,name-canonical=true,push=true
- name: Export Digest
id: export-digest
if: github.repository == 'netdata/netdata'
Expand Down Expand Up @@ -331,7 +330,7 @@ jobs:
- name: Create and Push Manifest
id: manifest
if: github.repository == 'netdata/netdata'
run: docker buildx imagetool create $(.github/scripts/gen-docker-imagetool-args.py /tmp/digests '' ${{ needs.gen-tags.outputs.tags }})
run: docker buildx imagetools create $(.github/scripts/gen-docker-imagetool-args.py /tmp/digests '' ${{ needs.gen-tags.outputs.tags }})
- name: Failure Notification
uses: rtCamp/action-slack-notify@v2
env:
Expand Down Expand Up @@ -410,7 +409,7 @@ jobs:
platforms: ${{ matrix.platform }}
cache-from: type=local,src=/tmp/build-cache
build-args: OFFICIAL_IMAGE=${{ env.OFFICIAL_IMAGE }}
outputs: type=image,name=netdata/netdata,push-by-digest=true,name-canonical=true,push=true
outputs: type=image,name=quay.io/netdata/netdata-ci-test,push-by-digest=true,name-canonical=true,push=true
- name: Export Digest
id: export-digest
if: github.repository == 'netdata/netdata'
Expand Down Expand Up @@ -483,7 +482,7 @@ jobs:
- name: Create and Push Manifest
id: manifest
if: github.repository == 'netdata/netdata'
run: docker buildx imagetool create $(.github/scripts/gen-docker-imagetool-args.py /tmp/digests '' ${{ needs.gen-tags.outputs.tags }})
run: docker buildx imagetools create $(.github/scripts/gen-docker-imagetool-args.py /tmp/digests '' ${{ needs.gen-tags.outputs.tags }})
- name: Failure Notification
uses: rtCamp/action-slack-notify@v2
env:
Expand Down

0 comments on commit 2a4c3af

Please sign in to comment.