Skip to content

Commit

Permalink
Fix Docker build action.
Browse files Browse the repository at this point in the history
  • Loading branch information
thmull committed Aug 9, 2023
1 parent 9491ec0 commit 84f177d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build-and-push-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,32 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_PW }}

- name: Create eps image tag
id: meta_eps
- name: Create Hyper image tag
id: meta_hyper
uses: docker/metadata-action@v3
with:
images: inoeg/eps
- name: Build eps
images: kiprotect/hyper
- name: Build Hyper
uses: docker/[email protected]
with:
build-args: VERSION=${{ env.VERSION }}
file: ./docker/Eps.dockerfile
tags: ${{ steps.meta_eps.outputs.tags }}
tags: ${{ steps.meta_hyper.outputs.tags }}
push: false
load: true
labels: |
iris.eps.image.revision=${{ github.sha }}
- name: Sign and push versioned eps image
kiprotect.hyper.image.revision=${{ github.sha }}
- name: Sign and push versioned Hyper image
uses: sudo-bot/action-docker-sign@latest
with:
image-ref: ${{fromJSON(steps.meta_eps.outputs.json).tags[0]}}
private-key-id: ${{ secrets.DOCKER_HUB_DCT_PRIVATE_KEY_IDENTIFIER }}
private-key: ${{ secrets.DOCKER_HUB_DCT_PRIVATE_KEY }}
private-key-passphrase: ${{ secrets.DOCKER_HUB_DCT_PASSPHRASE }}
- name: Sign and push latest eps image
- name: Sign and push latest Hyper image
uses: sudo-bot/action-docker-sign@latest
with:
image-ref: ${{fromJSON(steps.meta_eps.outputs.json).tags[1]}}
image-ref: ${{fromJSON(steps.meta_hyper.outputs.json).tags[1]}}
private-key-id: ${{ secrets.DOCKER_HUB_DCT_PRIVATE_KEY_IDENTIFIER }}
private-key: ${{ secrets.DOCKER_HUB_DCT_PRIVATE_KEY }}
private-key-passphrase: ${{ secrets.DOCKER_HUB_DCT_PASSPHRASE }}
Expand All @@ -61,7 +61,7 @@ jobs:
id: meta_sd
uses: docker/metadata-action@v3
with:
images: inoeg/sd
images: kiprotect/hyper-sd
- name: Build sd
uses: docker/[email protected]
with:
Expand All @@ -71,7 +71,7 @@ jobs:
push: false
load: true
labels: |
iris.sd.image.revision=${{ github.sha }}
kiprotect.hyper-sd.image.revision=${{ github.sha }}
- name: Sign and push sd versioned image
uses: sudo-bot/action-docker-sign@latest
with:
Expand All @@ -91,7 +91,7 @@ jobs:
id: meta_proxy
uses: docker/metadata-action@v3
with:
images: inoeg/proxy
images: kiprotect/hyper-proxy
- name: Build proxy
uses: docker/[email protected]
with:
Expand All @@ -101,7 +101,7 @@ jobs:
push: false
load: true
labels: |
iris.proxy.image.revision=${{ github.sha }}
kiprotect.hyper-proxy.image.revision=${{ github.sha }}
- name: Sign and push proxy versioned image
uses: sudo-bot/action-docker-sign@latest
with:
Expand Down

0 comments on commit 84f177d

Please sign in to comment.