-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c774f43
commit 4d8fea7
Showing
1 changed file
with
2 additions
and
11 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 |
---|---|---|
|
@@ -12,20 +12,11 @@ jobs: | |
- name: Set Github tag | ||
id: vars | ||
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | ||
# - name: Install porter | ||
# uses: porter-dev/[email protected] | ||
- name: Install porter | ||
run: | | ||
curl -L https://github.com/porter-dev/porter/releases/download/v0.52.15-upcoming/porter_v0.52.15-upcoming_Linux_x86_64.zip --output porter.zip | ||
unzip -a porter.zip | ||
rm porter.zip | ||
chmod +x ./porter | ||
sudo mv ./porter /usr/local/bin/porter | ||
command -v porter >/dev/null 2>&1 || { echo "[ERROR] There was an error installing the Porter CLI. Please try again." >&2; exit 1; } | ||
uses: porter-dev/[email protected] | ||
- name: Deploy stack | ||
timeout-minutes: 30 | ||
run: | | ||
porter apply -f ./porter.yaml | ||
run: porter apply -f ./porter.yaml | ||
env: | ||
DOCKER_BUILDKIT: "1" | ||
PORTER_BUILDKIT_ARGS: "--cache-to type=gha --cache-from type=gha" | ||
|