Skip to content

Commit

Permalink
refactor: Update devcontainer image name construction in build-devcon…
Browse files Browse the repository at this point in the history
…tainer.yml
  • Loading branch information
lgersman committed Oct 10, 2024
1 parent 645f843 commit 3aba641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
# construct IMAGE_NAME from repo owner/name and branch
# example value : "ghcr.io/IONOS-Wordpress/ionos-wordpress-develop-devcontainer"
IMAGE_NAME=ghcr.io/${GITHUB_REPOSITORY}-${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}-devcontainer"
IMAGE_NAME="ghcr.io/${GITHUB_REPOSITORY}-${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}-devcontainer"
# convert imagename to lowercase and store as environment variable
echo "${IMAGE_NAME@L}" >> ${GITHUB_ENV}
Expand Down

0 comments on commit 3aba641

Please sign in to comment.