Merge pull request #16 from mattkasun/arm-docker

fixed github actions
This commit is contained in:
Matthew R Kasun 2021-04-08 22:49:13 -04:00 committed by GitHub
commit a638e6a7d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push latest
if: ${{ github.head_ref }} = "master"
if: github.base_ref == 'master'
uses: docker/build-push-action@v2
with:
context: .
@ -31,7 +31,7 @@ jobs:
tags: |
nusak/netmaker:latest
- name: Build and push develop
if: ${{ github.head_ref }} = "develop"
if: github.base_ref == 'develop'
uses: docker/build-push-action@v2
with:
context: .