Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
godismercilex committed Nov 29, 2023
1 parent e8dcd41 commit 8e860ac
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
tags:
- "*"
# branches:
# - master

permissions:
contents: write
Expand All @@ -28,7 +26,6 @@ jobs:
- run: git fetch --force --tags

- run: make release
if: startsWith(github.ref, 'refs/tags/v')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -43,22 +40,11 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push tagged image
- name: Build and push versioned image
uses: docker/build-push-action@v5
if: startsWith(github.ref, 'refs/tags/v')
with:
file: contrib/docker/goreleaser.Dockerfile
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ghcr.io/nibiruchain/nibiru:${{ steps.get_version.outputs.version-without-v }}

- name: Build and push latest image
uses: docker/build-push-action@v5
if: startsWith(github.ref, 'refs/heads/master')
with:
file: contrib/docker/goreleaser.Dockerfile
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ghcr.io/nibiruchain/nibiru:latest

0 comments on commit 8e860ac

Please sign in to comment.