Skip to content

Commit

Permalink
Merge pull request #133 from keitaroinc/change-image-tag-xloader
Browse files Browse the repository at this point in the history
Change tag name for xloader image
  • Loading branch information
stojanovskis1 authored Aug 7, 2024
2 parents 39f3771 + 89eb53f commit 6966983
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/master_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
path: |
/tmp/.buildx-cache-alpine-2-10
/tmp/.buildx-cache-ubuntu-2-10
/tmp/.buildx-cache-alpine-2-10-xloader
key: ${{ runner.os }}-buildx-2-10-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-2-10
Expand Down Expand Up @@ -66,10 +67,10 @@ jobs:
file: ./images/ckan/2.10/Dockerfile.xloader
push: true
tags: |
keitaro/ckan:${{ steps.alpine.outputs.IMAGE_TAG }}
ghcr.io/keitaroinc/ckan:${{ steps.alpine.outputs.IMAGE_TAG }}
cache-from: type=local,src=/tmp/.buildx-cache-alpine-2-10
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-alpine-2-10
keitaro/ckan:${{ steps.alpine-xloader.outputs.IMAGE_TAG }}
ghcr.io/keitaroinc/ckan:${{ steps.alpine-xloader.outputs.IMAGE_TAG }}
cache-from: type=local,src=/tmp/.buildx-cache-alpine-2-10-xloader
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-alpine-2-10-xloader

- name: Get docker tag for Ubuntu image
id: ubuntu
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
path: |
/tmp/.buildx-cache-alpine-2-10
/tmp/.buildx-cache-ubuntu-2-10
/tmp/.buildx-cache-alpine-2-10-xloader
key: ${{ runner.os }}-buildx-2-10-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-2-10
Expand Down Expand Up @@ -50,9 +51,9 @@ jobs:
context: ./images/ckan/2.10
file: ./images/ckan/2.10/Dockerfile.xloader
push: false
tags: keitaro/ckan:${{ steps.alpine.outputs.IMAGE_TAG }}
cache-from: type=local,src=/tmp/.buildx-cache-alpine-2-10
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-alpine-2-10
tags: keitaro/ckan:${{ steps.alpine-xloader.outputs.IMAGE_TAG }}
cache-from: type=local,src=/tmp/.buildx-cache-alpine-2-10-xloader
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-alpine-2-10-xloader

- name: Get docker tag for Ubuntu image
id: ubuntu
Expand Down
2 changes: 1 addition & 1 deletion images/ckan/2.10/Dockerfile.xloader
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
FROM alpine:3.17.2 as ckanbuild

# Used by Github Actions to tag the image with
ENV IMAGE_TAG=2.10.4
ENV IMAGE_TAG=2.10.4-xloader

# Set CKAN version to build
ENV GIT_URL=https://github.com/ckan/ckan.git
Expand Down

0 comments on commit 6966983

Please sign in to comment.