Skip to content

Commit

Permalink
Support arm64/amd64 for k3s
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinbunney committed Nov 26, 2024
1 parent 1464dfd commit 82116b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Cache images for tests in GHCR
name: Cache Images

on:
push:
Expand Down Expand Up @@ -42,11 +42,11 @@ jobs:
for image in ${IMAGES//,/ }; do
new_image="ghcr.io/gavinbunney/terraform-provider-kubectl/testacc-$(echo $image | sed 's/\//-/')"
echo "Caching $image as $new_image"
docker rmi $image
docker rmi $image --force
docker pull $image --platform linux/amd64
docker tag $image $new_image-amd64
docker push $new_image-amd64
docker rmi $image
docker rmi $image --force
docker pull $image --platform linux/arm64
docker tag $image $new_image-arm64
docker push $new_image-arm64
Expand Down

0 comments on commit 82116b0

Please sign in to comment.