Skip to content

Commit

Permalink
test spin registry push
Browse files Browse the repository at this point in the history
Signed-off-by: Rajat Jindal <[email protected]>
  • Loading branch information
rajatjindal committed Apr 19, 2024
1 parent e83597d commit fdeaad0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/spin-registry-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set RELEASE_VERSION ENV var
run: echo "RELEASE_VERSION=$(echo -n ${GITHUB_REF} | cut -d '/' -f 3)" >> $GITHUB_ENV

- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: 1.22

Expand Down Expand Up @@ -61,6 +61,10 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: test
- name: build spin app
working-directory: ${{ matrix.image.context }}
run: spin build

- name: push to registry
working-directory: ${{ matrix.image.context }}
run: spin registry push ghcr.io/${{ github.repository }}/${{ matrix.image.imageName }}:${{ env.RELEASE_VERSION }}

0 comments on commit fdeaad0

Please sign in to comment.