Skip to content

Commit

Permalink
fix: on-demand action image name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
3benbox committed Dec 13, 2023
1 parent d301c5e commit 4f43996
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/on-demand-build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
tag_name:
required: true
description: "Tag name will be prefaced with 'on-demand-'."
env:
IMAGE_REPO: public.ecr.aws/r5b3e0r5/3box/

jobs:
build:
Expand All @@ -23,18 +25,18 @@ jobs:
- name: Set Final Tag
run: echo "TAG=on-demand-${{ inputs.tag_name }}" >> "$GITHUB_ENV"

- name: Build Docker Image
- name: Build Docker runner Image
run: |
docker buildx build --load -t 3box/keramik-runner:$TAG --target runner .
docker push public.ecr.aws/r5b3e0r5/3box/keramik-runner:$TAG
docker buildx build --load -t $IMAGE_REPO/keramik-runner:$TAG --target runner .
docker push $IMAGE_REPO/keramik-runner:$TAG
- name: Build Docker Image
- name: Build Docker operator Image
run: |
docker buildx build --load -t 3box/keramik-operator:$TAG --target operator .
docker push public.ecr.aws/r5b3e0r5/3box/keramik-operator:$TAG
docker buildx build --load -t $IMAGE_REPO/keramik-operator:$TAG --target operator .
docker push $IMAGE_REPO/keramik-operator:$TAG
- name: Print Image ID
- name: Print Image names
run: |
echo public.ecr.aws/r5b3e0r5/3box/keramik-runner:$TAG
echo public.ecr.aws/r5b3e0r5/3box/keramik-operator:$TAG
echo $IMAGE_REPO/keramik-runner:$TAG
echo $IMAGE_REPO/keramik-operator:$TAG

0 comments on commit 4f43996

Please sign in to comment.