diff --git a/.github/workflows/porter_stack_integration-test-provisioning.yml b/.github/workflows/porter_stack_integration-test-provisioning.yml index 57c60e7..ab2f92c 100644 --- a/.github/workflows/porter_stack_integration-test-provisioning.yml +++ b/.github/workflows/porter_stack_integration-test-provisioning.yml @@ -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/setup-porter@v0.1.0 + - 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