Update docker-build-push.yml

This commit is contained in:
Amruth Pillai 2022-03-07 14:05:27 +01:00 committed by GitHub
parent 1a0ab6fb22
commit cff51a8be9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,8 @@ name: Build and Push to Docker Hub
on: on:
push: push:
branches: v3 branches:
- 'v3'
jobs: jobs:
docker: docker:
@ -23,7 +24,7 @@ jobs:
with: with:
context: . context: .
push: true push: true
file: {{context}}/server/Dockerfile file: server/Dockerfile
tags: amruthpillai/reactive-resume:server-latest tags: amruthpillai/reactive-resume:server-latest
- name: Build and Push Client Docker Image - name: Build and Push Client Docker Image
@ -31,5 +32,5 @@ jobs:
with: with:
context: . context: .
push: true push: true
file: {{context}}/client/Dockerfile file: client/Dockerfile
tags: amruthpillai/reactive-resume:client-latest tags: amruthpillai/reactive-resume:client-latest