mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
Update ci-ifcopenshell-docker.yml
This commit is contained in:
@@ -9,7 +9,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
activate:
|
activate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
if: |
|
if: |
|
||||||
github.repository == 'IfcOpenShell/IfcOpenShell' &&
|
github.repository == 'IfcOpenShell/IfcOpenShell' &&
|
||||||
!startsWith(github.event.head_commit.message, 'Release ') &&
|
!startsWith(github.event.head_commit.message, 'Release ') &&
|
||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- run: echo ok go
|
- run: echo ok go
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
needs: activate
|
needs: activate
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -83,7 +83,7 @@ jobs:
|
|||||||
path: build/assets/Ifc*
|
path: build/assets/Ifc*
|
||||||
|
|
||||||
deliver:
|
deliver:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
needs: build
|
needs: build
|
||||||
name: Docker Build, Tag, Push
|
name: Docker Build, Tag, Push
|
||||||
|
|
||||||
@@ -118,6 +118,6 @@ jobs:
|
|||||||
repository: aecgeeks/ifcopenshell
|
repository: aecgeeks/ifcopenshell
|
||||||
# Since the dispatch is set to `tag`, `github.ref_name` should evaluate to the pushed tag
|
# 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
|
# 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' }}
|
tags: aecgeeks/ifcopenshell:${{ github.ref_name }}${{ github.ref_name == github.event.repository.default_branch && ',aecgeeks/ifcopenshell:22.04' }}
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
Reference in New Issue
Block a user