Created
June 6, 2022 20:21
-
-
Save burki169/a70c4b8bcf7b34d32aa544d538c81a36 to your computer and use it in GitHub Desktop.
Access predefined environment values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Get commit Id | |
run: | | |
echo "COMMIT_ID=$GITHUB_SHA" >> $GITHUB_ENV | |
- name: Set image id | |
run: | | |
echo "DOCKER_IMAGE_TAG=$DOCKER_REPOSITORY_NAME/$DOCKER_IMAGE_BASENAME:$COMMIT_ID" >> $GITHUB_ENV |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment