mirror of
https://fast.feibisi.com/https://github.com/parcelvoy/platform.git
synced 2025-08-29 11:56:04 +08:00
Tags docker build with release tag (#122)
Co-authored-by: Chris Hills <31041837+chrishills@users.noreply.github.com>
This commit is contained in:
parent
e47dd7e916
commit
db83ff9ea6
3 changed files with 4 additions and 5 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -2,8 +2,6 @@ name: Create & Publish Docker Image
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
|
||||
|
@ -34,4 +32,5 @@ jobs:
|
|||
|
||||
- name: Build the Docker Image
|
||||
run: |
|
||||
npm run docker:build:push
|
||||
npm run docker:build:push --tag=$(echo ${GITHUB_REF_NAME:1})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue