File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ jobs:
42
42
uses : actions/checkout@v2
43
43
44
44
- name : Get and save the release tag
45
- run : echo "::set-env name= RELEASE_TAG:: ${GITHUB_REF##*/}"
45
+ run : echo "RELEASE_TAG= ${GITHUB_REF##*/}" >> $GITHUB_ENV
46
46
47
47
- name : Build and save the image release tag
48
- run : echo "::set-env name= IMAGE_TAG:: release-${RELEASE_TAG}_terraform-${{ matrix.tf_version }}_awscli-${{ matrix.awscli_version }}"
48
+ run : echo "IMAGE_TAG= release-${RELEASE_TAG}_terraform-${{ matrix.tf_version }}_awscli-${{ matrix.awscli_version }}" >> $GITHUB_ENV
49
49
50
50
- name : Build image
51
51
run : docker image build . --file Dockerfile --build-arg TERRAFORM_VERSION=${{ matrix.tf_version }} --build-arg AWS_CLI_VERSION=${{ matrix.awscli_version }} --tag ${ORGANIZATION}/${IMAGE_NAME}:${IMAGE_TAG}
You can’t perform that action at this time.
0 commit comments