-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
expand env vars in script rather than "pipeline templating"
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
fi | ||
STATUS=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ | ||
https://ghcr.io/v2/${{ github.repository }}/manifests/${{ IMAGE_TAG }}) | ||
https://ghcr.io/v2/${{ github.repository }}/manifests/$IMAGE_TAG) | ||
if [ "$STATUS" -ne 200 ]; then | ||
echo "Image with TAG $IMAGE_TAG not found in GitHub Container Registry. Aborting..." | ||
|
@@ -49,7 +49,7 @@ jobs: | |
|
||
- name: Set image tag in DOcker Compose File | ||
run: | | ||
sed -i "s/\$IMAGE_TAG/${{ IMAGE_TAG }}/g" docker-compose.prod.yml | ||
sed -i "s/\$IMAGE_TAG/$IMAGE_TAG/g" docker-compose.prod.yml | ||
- name: Copy Docker Compose File From Repo to VM Host | ||
uses: appleboy/[email protected] | ||
|