Fixing prod release
This commit is contained in:
parent
6311627899
commit
b056826e94
16
.github/workflows/production-release.yml
vendored
16
.github/workflows/production-release.yml
vendored
@ -2,7 +2,8 @@ name: production-release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [released]
|
||||
# types: [released]
|
||||
types: [prereleased]
|
||||
|
||||
jobs:
|
||||
arm64:
|
||||
@ -54,7 +55,7 @@ jobs:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: coollabsio/coolify:${{steps.package-version.outputs.current-version}}
|
||||
tags: coollabsio/coolify:${{steps.package-version.outputs.current-version}}-amd64
|
||||
cache-from: type=registry,ref=coollabsio/coolify:buildcache-amd64
|
||||
cache-to: type=registry,ref=coollabsio/coolify:buildcache-amd64,mode=max
|
||||
aarch64:
|
||||
@ -103,11 +104,14 @@ jobs:
|
||||
id: package-version
|
||||
- name: Create & publish manifest
|
||||
run: |
|
||||
docker pull coollabsio/coolify:${{steps.package-version.outputs.current-version}}-arm64
|
||||
docker pull coollabsio/coolify:${{steps.package-version.outputs.current-version}}-aarch64
|
||||
docker pull coollabsio/coolify:${{steps.package-version.outputs.current-version}}
|
||||
docker buildx imagetools create --append coollabsio/coolify:${{steps.package-version.outputs.current-version}}-arm64 --append coollabsio/coolify:${{steps.package-version.outputs.current-version}}-aarch64 --tag coollabsio/coolify:${{steps.package-version.outputs.current-version}}
|
||||
docker tag coollabsio/coolify:${{steps.package-version.outputs.current-version}} coollabsio/coolify:latest
|
||||
docker push coollabsio/coolify:latest
|
||||
docker buildx imagetools create --append coollabsio/coolify:${{steps.package-version.outputs.current-version}}-arm64 --append coollabsio/coolify:${{steps.package-version.outputs.current-version}}-aarch64 --tag coollabsio/coolify:latest
|
||||
- uses: sarisia/actions-status-discord@v1
|
||||
if: always()
|
||||
with:
|
||||
webhook: ${{ secrets.DISCORD_WEBHOOK_PROD_RELEASE_CHANNEL }}
|
||||
# - uses: sarisia/actions-status-discord@v1
|
||||
# if: always()
|
||||
# with:
|
||||
# webhook: ${{ secrets.DISCORD_WEBHOOK_PROD_RELEASE_CHANNEL }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user