diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b4f9b72..4731c05 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -43,7 +43,6 @@ jobs: push: false release: - if: startsWith(github.ref, 'refs/tags/0.') needs: - test runs-on: ubuntu-latest @@ -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 \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 847a3a3..136e004 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,4 +1,5 @@ # Check the documentation at https://goreleaser.com +version: 2 before: hooks: - go mod tidy