mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-07 16:30:49 +00:00
fix: build and push docker containers for s-prefixed tags (#6442)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
68608dc549
commit
e072f05d97
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -505,7 +505,7 @@ jobs:
|
|||||||
DOCKER_CLI_HINTS: false
|
DOCKER_CLI_HINTS: false
|
||||||
DOCKER_EXTRA: --platform=linux/amd64,linux/arm64
|
DOCKER_EXTRA: --platform=linux/amd64,linux/arm64
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/tags/s') }}
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: hardcoreeng
|
username: hardcoreeng
|
||||||
@ -514,13 +514,13 @@ jobs:
|
|||||||
# if: ${{ github.ref == 'refs/heads/main' }}
|
# if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
# run: node common/scripts/install-run-rush.js docker:staging -v
|
# run: node common/scripts/install-run-rush.js docker:staging -v
|
||||||
- name: Docker push tag
|
- name: Docker push tag
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/tags/s') }}
|
||||||
run: |
|
run: |
|
||||||
echo Pushing release of tag ${{ github.ref }}
|
echo Pushing release of tag ${{ github.ref }}
|
||||||
node common/scripts/install-run-rush.js docker:push -v
|
node common/scripts/install-run-rush.js docker:push -v
|
||||||
dist-build:
|
dist-build:
|
||||||
# if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
|
# if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/tags/s') }}
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/tags/s') }}
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
Loading…
Reference in New Issue
Block a user