mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-08 14:15:25 +08:00
another refinement
This commit is contained in:
parent
c27278158e
commit
6cd2bbcb94
1 changed files with 4 additions and 5 deletions
9
.github/workflows/publish-docker.yml
vendored
9
.github/workflows/publish-docker.yml
vendored
|
@ -5,7 +5,6 @@ on:
|
|||
branches:
|
||||
- 'develop'
|
||||
- 'master'
|
||||
push:
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
|
@ -27,22 +26,22 @@ jobs:
|
|||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Build and push
|
||||
if: ${{ github.head_ref }} "master"
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64, linux/arm64
|
||||
push: false
|
||||
push: true
|
||||
tags: |
|
||||
nusak/netmaker:latest
|
||||
-
|
||||
name: Build and push
|
||||
if: ${{ github.head_ref }} "develop"
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64, linux/arm64
|
||||
push: false
|
||||
push: true
|
||||
tags: |
|
||||
nusak/netmaker:develop
|
||||
|
|
Loading…
Add table
Reference in a new issue