diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 1972feb..d0817ed 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -3,10 +3,10 @@ name: Adminio-API Docker Build on: push: branches: [ master ] + tags: + - 'v*' pull_request: branches: [ master ] - tags: - - v* jobs: @@ -42,7 +42,7 @@ jobs: uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc with: context: . - push: true + push: ${{ github.event_name != 'pull_request' }} platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/src/main.go b/src/main.go index 585aa80..588b85f 100644 --- a/src/main.go +++ b/src/main.go @@ -55,7 +55,7 @@ func main() { fmt.Println("\033[33m" + ` Admin REST API for http://min.io (minio) s3 server - Version : 1.81 + Version : 1.82 Authors : rzrbld, 0x003e License : MIT GitHub : https://github.com/rzrbld/adminio-api