Skip to content

Commit f66bc85

Browse files
committed
Use consistent tags
1 parent 3f9051e commit f66bc85

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/oracle-observer-image-build.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
file: ./docker/oracle-observer/Dockerfile
101101
platforms: linux/amd64
102102
push: false
103-
tags: hmpps-delius-operational-automation:${{ github.sha }}
103+
tags: hmpps-delius-operational-automation-oracle-observer:${{ github.sha }}
104104
cache-from: type=gha
105105
cache-to: type=gha,mode=max
106106
outputs: type=docker,dest=/tmp/oracle-observer-image.tar
@@ -194,7 +194,9 @@ jobs:
194194
path: /tmp
195195

196196
- name: Load and retag image for publish
197-
run: docker tag /tmp/oracle-observer-image.tar 374269020027.dkr.ecr.eu-west-2.amazonaws.com/delius-core-oracle-observer:${{ github.run_id }}-${{ github.run_attempt }}
197+
run: |
198+
docker load --input /tmp/oracle-observer-image.tar
199+
docker tag delius-core-oracle-observer:${{ github.sha }} 374269020027.dkr.ecr.eu-west-2.amazonaws.com/delius-core-oracle-observer:${{ github.run_id }}-${{ github.run_attempt }}
198200
199201
- name: Login to ECR
200202
run: aws ecr get-login-password --region eu-west-2 | docker login --username AWS --password-stdin 374269020027.dkr.ecr.eu-west-2.amazonaws.com

0 commit comments

Comments
 (0)