mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Merge pull request #1333 from vector-im/fheese/workflow_create_latest_ci_unixtime
Add a build step to create a unix timestamp. Use that timestamp to cr…
This commit is contained in:
commit
9e1cbd44e0
5
.github/workflows/publish.yaml
vendored
5
.github/workflows/publish.yaml
vendored
@ -18,6 +18,10 @@ jobs:
|
||||
contents: write # required to upload release asset
|
||||
packages: write
|
||||
steps:
|
||||
- name: Get current date
|
||||
id: current_date
|
||||
run: echo "::set-output name=unix_time::$(date +'%s')"
|
||||
|
||||
- name: Check it out
|
||||
uses: actions/checkout@v2
|
||||
|
||||
@ -65,6 +69,7 @@ jobs:
|
||||
type=sha,format=short,event=branch
|
||||
type=semver,pattern={{version}}
|
||||
type=raw,value=latest-ci,enable={{is_default_branch}}
|
||||
type=raw,value=latest-ci_{{ steps.current_date.outputs.unix_time }},enable={{is_default_branch}}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6
|
||||
|
Loading…
Reference in New Issue
Block a user