mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 03:46:02 +08:00
commit
a638e6a7d8
1 changed files with 2 additions and 2 deletions
4
.github/workflows/publish-docker.yml
vendored
4
.github/workflows/publish-docker.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Build and push latest
|
- name: Build and push latest
|
||||||
if: ${{ github.head_ref }} = "master"
|
if: github.base_ref == 'master'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
@ -31,7 +31,7 @@ jobs:
|
||||||
tags: |
|
tags: |
|
||||||
nusak/netmaker:latest
|
nusak/netmaker:latest
|
||||||
- name: Build and push develop
|
- name: Build and push develop
|
||||||
if: ${{ github.head_ref }} = "develop"
|
if: github.base_ref == 'develop'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
|
Loading…
Add table
Reference in a new issue