master branch added for latest tag

This commit is contained in:
sakkiii 2021-09-06 22:46:41 +05:30 committed by GitHub
parent 01d20bf931
commit 083327d9e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@ name: Create docker image(s) and push to docker hub
on:
push:
branches: [ master ]
tags:
- '[0-9]+\.[0-9]+\.[0-9]+'
@ -21,13 +22,6 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push Updated Latest
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: awesometechnologies/synapse-admin:latest
- name: Calculate docker image tag
id: set-tag
run: |