Skip to content

Commit

Permalink
build: add latest tag on release docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiaRiola authored Nov 30, 2021
1 parent c82cf9f commit 8e488fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-dockerhub.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: buildx_docker_build_push
name: dockerhub_release

on:
push:
tags:
- 'v*.*.*'

jobs:
buildx_docker:
dockerhub_release:
runs-on: ubuntu-latest
steps:
-
Expand Down Expand Up @@ -34,11 +34,11 @@ jobs:
with:
context: ./Frontend/spg-frontend
push: true
tags: mattiariola/spg_frontend:${{ steps.vars.outputs.tag }}
tags: mattiariola/spg_frontend:latest, mattiariola/spg_frontend:${{ steps.vars.outputs.tag }}
-
name: BE Build and push
uses: docker/build-push-action@v2
with:
context: ./server/SPG
push: true
tags: mattiariola/spg_server:${{ steps.vars.outputs.tag }}
tags: mattiariola/spg_server:latest, mattiariola/spg_server:${{ steps.vars.outputs.tag }}

0 comments on commit 8e488fc

Please sign in to comment.