You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/actions/build-push-artifacts/action.yml
+14-1
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,11 @@ inputs:
17
17
description: 'AWS role to assume'
18
18
required: true
19
19
20
+
outputs:
21
+
image-uri:
22
+
description: 'The Docker image URI that was built/pushed'
23
+
value: ${{ steps.rset-output.outputs.image-uri }}
24
+
20
25
runs:
21
26
using: "composite"
22
27
steps:
@@ -47,4 +52,12 @@ runs:
47
52
file: ci/Dockerfile
48
53
context: .
49
54
push: true
50
-
tags: ${{ steps.login-ecr-vaec.outputs.registry }}/va_enp_api:${{ inputs.ref }},${{ steps.login-ecr-vaec.outputs.registry }}/va_enp_api:${{ github.sha }} ## Tagging with branch/tag and SHA to maintain SHA record and human readability
55
+
tags: ${{ steps.login-ecr-vaec.outputs.registry }}/va_enp_api:${{ inputs.ref }},${{ steps.login-ecr-vaec.outputs.registry }}/va_enp_api:${{ github.sha }} ## Tagging with branch/tag and SHA to maintain SHA record and human readability
56
+
57
+
# This step sets the Docker image URI as an output from the composite action
58
+
- name: Set image output
59
+
id: set-output
60
+
shell: bash
61
+
run: |
62
+
# Using the ref tag as our main object to pass around
0 commit comments