Skip to content

Commit

Permalink
change the static reference to the docker images in the CI build to b…
Browse files Browse the repository at this point in the history
…e dynamic based upon the current repo so that builds in downstream repos can produce images for testing.
  • Loading branch information
stevesloka committed Nov 16, 2023
1 parent 142467d commit 0ee67a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ jobs:
with:
push: true
tags: |
ghcr.io/deislabs/containerd-wasm-shims/${{ matrix.image.imageName }}:${{ env.RELEASE_VERSION }}
ghcr.io/deislabs/containerd-wasm-shims/${{ matrix.image.imageName }}:latest
ghcr.io/${{ github.repository }}/${{ matrix.image.imageName }}:${{ env.RELEASE_VERSION }}
ghcr.io/${{ github.repository }}/${{ matrix.image.imageName }}:latest
context: ${{ matrix.image.context }}
platforms: wasi/wasm

6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Build and push k3d shim image
- name: untar musl artifacts into ./deployments/k3d/.tmp/linux/(amd64|arm64) dir
run: |
Expand All @@ -72,8 +72,8 @@ jobs:
with:
push: true
tags: |
ghcr.io/deislabs/containerd-wasm-shims/examples/k3d:${{ env.RELEASE_VERSION }}
ghcr.io/deislabs/containerd-wasm-shims/examples/k3d:latest
ghcr.io/${{ github.repository }}/examples/k3d:${{ env.RELEASE_VERSION }}
ghcr.io/${{ github.repository }}/examples/k3d:latest
context: deployments/k3d
platforms: linux/amd64,linux/arm64
build-args: |
Expand Down

0 comments on commit 0ee67a6

Please sign in to comment.