Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: on-demand action image name fix #122

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Loading