Skip to content

Commit 06551ea

Browse files
committed
try a different approach
1 parent dfad618 commit 06551ea

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/push-rdev.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ jobs:
5656
context: ${{ matrix.image.context }}
5757
name: ${{ matrix.image.name }}
5858
registry: 654654542669.dkr.ecr.us-west-2.amazonaws.com
59-
- name: print the tag
60-
shell: python
59+
- name: echo the tags to github output
6160
run: |
62-
print( str(${{ steps.build_outputs.outputs.tags[1] }} ) )
61+
echo "{IMAGE_SHA}=${{ steps.build_outputs.outputs.tags }} " >> "$GITHUB_ENV"
62+
- name: print the tag
63+
shell: bash
64+
run: echo "The image sha is $IMAGE_SHA"
6365
# TODO: figure out whether {{ secrets.GITHUB_TOKEN }} is enough for this step:
6466
# - name: Update the file
6567
# uses: EndBug/add-and-commit@v9

0 commit comments

Comments
 (0)