Skip to content

Commit

Permalink
fix(ci): update goreleaser file
Browse files Browse the repository at this point in the history
  • Loading branch information
astromechza committed Jun 20, 2024
1 parent 6c2e799 commit 69149cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
push: false

release:
if: startsWith(github.ref, 'refs/tags/0.')
needs:
- test
runs-on: ubuntu-latest
Expand All @@ -70,23 +69,5 @@ jobs:
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push docker image
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/score-spec/score-compose:${{ github.ref_name }}
GITHUB_TOKEN: foo
TAP_GITHUB_TOKEN: bar
1 change: 1 addition & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Check the documentation at https://goreleaser.com
version: 2
before:
hooks:
- go mod tidy
Expand Down

0 comments on commit 69149cc

Please sign in to comment.