Skip to content

Commit

Permalink
setup github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rzrbld committed Dec 29, 2021
1 parent 145a627 commit d714438
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Adminio-API Docker Build
on:
push:
branches: [ master ]
tags:
- 'v*'
pull_request:
branches: [ master ]
tags:
- v*

jobs:

Expand Down Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d714438

Please sign in to comment.