-
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.
- Loading branch information
1 parent
2d46ade
commit a6bd575
Showing
1 changed file
with
6 additions
and
7 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 |
---|---|---|
|
@@ -6,10 +6,6 @@ name: Deploy to integration-test-provisioning | |
jobs: | ||
porter-deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: read | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
@@ -18,12 +14,15 @@ jobs: | |
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | ||
- name: Setup porter | ||
uses: porter-dev/[email protected] | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: portersupport | ||
password: ${{ secrets.IMAGE_BUILD_TOKEN }} | ||
- name: Pull unauthenticated images | ||
run: | | ||
echo $GITHUB_TOKEN | docker login ghcr.io -u portersupport --password-stdin | ||
docker pull ghcr.io/porter-dev/cluster-control-plane/ccp-cli:latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.IMAGE_BUILD_TOKEN }} | ||
- name: Deploy stack | ||
timeout-minutes: 30 | ||
run: exec porter apply | ||
|