fix action with prefix matching
/ create-package (push) Successful in 16m36s
Details
/ create-package (push) Successful in 16m36s
Details
parent
6dc887a3e2
commit
cd49aab3fe
|
|
@ -32,13 +32,21 @@ jobs:
|
|||
release_short_sha="$(git rev-parse --short HEAD)"
|
||||
release_tag="$release_timestamp-$release_short_sha"
|
||||
echo "RELEASE_TAG=$release_tag" >> $GITHUB_ENV
|
||||
echo "the release tag will be '$release_tag'"
|
||||
echo "The release tag will be '${release_tag}'"
|
||||
|
||||
- name: Package URL
|
||||
run: |
|
||||
package_url="git2.workstreams.ch/workstreams-os/ws-office-dev:${{ env.RELEASE_TAG }}"
|
||||
echo "PACKAGE_URL=$package_url" >> $GITHUB_ENV
|
||||
echo "PACKAGE URL: $package_url"
|
||||
|
||||
- name: Set PRODUCT_VERSION and BUILD_NUMBER
|
||||
run: |
|
||||
export $(grep -v '^#' .env | xargs)
|
||||
echo "PRODUCT_VERSION=$product_version" >> $GITHUB_ENV
|
||||
echo "BUILD_NUMBER=$build_number" >> $GITHUB_ENV
|
||||
echo "PRODUCT_VERSION: '${product_version}'"
|
||||
echo "BUILD_NUMBER: '${build_number}'"
|
||||
|
||||
- name: Docker Build
|
||||
uses: https://github.com/docker/build-push-action@v4
|
||||
|
|
@ -54,7 +62,7 @@ jobs:
|
|||
linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
git2.workstreams.ch/workstreams-os/ws-office-dev:${{ env.RELEASE_TAG }}
|
||||
${{ env.PACKAGE_URL }}
|
||||
# cache-from: type=local,src=/tmp/.buildx-cache
|
||||
# cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue