Experimenting with disabling setting the environment

This commit is contained in:
Kokomo123
2024-08-24 18:28:33 -04:00
parent 5bccfe60b7
commit 8f791c05f0

View File

@@ -45,14 +45,14 @@ jobs:
- uses: actions/checkout@master - uses: actions/checkout@master
# See: https://stackoverflow.com/a/58178121 # See: https://stackoverflow.com/a/58178121
- name: Set Env #- name: Set Env
run: | # run: |
IMAGE_VERSION=${{ github.ref_name }} # IMAGE_VERSION=${{ github.ref_name }}
# Strip "v" prefix from tag name # # Strip "v" prefix from tag name
[[ "${{ github.ref }}" == "refs/tags/"* ]] && IMAGE_VERSION=$(echo $IMAGE_VERSION | sed -e 's/^v//') # [[ "${{ github.ref }}" == "refs/tags/"* ]] && IMAGE_VERSION=$(echo $IMAGE_VERSION | sed -e 's/^v//')
echo "IMAGE_VERSION=$IMAGE_VERSION" >> $GITHUB_ENV # echo "IMAGE_VERSION=$IMAGE_VERSION" >> $GITHUB_ENV
#
echo "IMAGE_ID=$(echo ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME | tr '[A-Z]' '[a-z]')" >> $GITHUB_ENV # echo "IMAGE_ID=$(echo ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME | tr '[A-Z]' '[a-z]')" >> $GITHUB_ENV
# region See: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-ghcrio # region See: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-ghcrio
- name: Use QEMU - name: Use QEMU