Skip to content

Commit

Permalink
Fix github workflow and deploy yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
s1061123 committed Apr 2, 2024
1 parent 9d67c1d commit 15b7997
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,8 @@ jobs:
push: true
platform: linux/amd64
tags: |
ghcr.io/${{ github.repository }}:latest-amd64
ghcr.io/${{ github.repository }}:snapshot-amd64
- name: Create manifest for multi-arch images
if: github.repository_owner == 'k8snetworkplumbingwg'
run: |
docker pull ${REPOSITORY}:snapshot-amd64
docker manifest create ${REPOSITORY}:snapshot ${REPOSITORY}:snapshot-amd64
docker manifest annotate ${REPOSITORY}:snapshot ${REPOSITORY}:snapshot-amd64 --arch amd64
docker manifest push ${REPOSITORY}:snapshot
docker pull ${REPOSITORY}:latest-amd64
docker manifest create ${REPOSITORY}:latest ${REPOSITORY}:latest-amd64
docker manifest annotate ${REPOSITORY}:latest ${REPOSITORY}:latest-amd64 --arch amd64
docker manifest push ${REPOSITORY}:latest
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:snapshot
platforms: linux/amd64
sbom: false
provenance: false
2 changes: 1 addition & 1 deletion deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ spec:
serviceAccountName: multi-networkpolicy
containers:
- name: multi-networkpolicy
image: ghcr.io/k8snetworkplumbingwg/multi-networkpolicy-iptables:snapshot-amd64
image: ghcr.io/k8snetworkplumbingwg/multi-networkpolicy-iptables:snapshot
imagePullPolicy: Always
command: ["/usr/bin/multi-networkpolicy-iptables"]
args:
Expand Down

0 comments on commit 15b7997

Please sign in to comment.