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
+12-1
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,9 @@ inputs:
17
17
description: 'AWS role to assume'
18
18
required: true
19
19
20
+
outputs:
21
+
image: ${{ steps.set-output.outputs.image }}
22
+
20
23
runs:
21
24
using: "composite"
22
25
steps:
@@ -47,4 +50,12 @@ runs:
47
50
file: ci/Dockerfile
48
51
context: .
49
52
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
53
+
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
54
+
55
+
# This step sets the Docker image URI as an output from the composite action
56
+
- name: Set image output
57
+
id: set-output
58
+
shell: bash
59
+
run: |
60
+
# Using the ref tag as our main object to pass around
0 commit comments