mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 22:33:33 +00:00
Derive docker tags from git refs
This commit is contained in:
committed by
Thomas Krijnen
parent
8f443a79f3
commit
040aec3e52
@@ -116,6 +116,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: artifacts
|
context: artifacts
|
||||||
repository: aecgeeks/ifcopenshell
|
repository: aecgeeks/ifcopenshell
|
||||||
tags: aecgeeks/ifcopenshell:latest
|
# Since the dispatch is set to `tag`, `github.ref_name` should evaluate to the pushed tag
|
||||||
|
# On a workflow dispatch, `ref_name` will take on the value from the dispatch payload
|
||||||
|
tags: aecgeeks/ifcopenshell:${{ github.ref_name }}${{ github.ref_name == github.event.repository.default_branch && ',aecgeeks/ifcopenshell:latest' }}
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
Reference in New Issue
Block a user