mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-28 00:17:12 +01:00
parent
50ab2c9d61
commit
533730c18c
14
.github/workflows/docker_publish.yaml
vendored
14
.github/workflows/docker_publish.yaml
vendored
@ -10,7 +10,7 @@ on:
|
|||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: "Which version to release"
|
description: "Which version to release"
|
||||||
type: 'string'
|
type: "string"
|
||||||
required: true
|
required: true
|
||||||
is-latest-version:
|
is-latest-version:
|
||||||
description: Is this the latest version? If latest we'll update the version docker
|
description: Is this the latest version? If latest we'll update the version docker
|
||||||
@ -34,6 +34,17 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
if: ${{ inputs.version == '' }}
|
if: ${{ inputs.version == '' }}
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Configure AWS credentials
|
||||||
|
uses: aws-actions/configure-aws-credentials@v4
|
||||||
|
with:
|
||||||
|
role-to-assume: arn:aws:iam::726824350591:role/unleash-github-ecr-public-publish-role
|
||||||
|
role-session-name: edge-actions-push-to-ecr-public
|
||||||
|
aws-region: us-east-1
|
||||||
|
- name: Login to AWS ECR
|
||||||
|
id: login-ecr-public
|
||||||
|
uses: aws-actions/amazon-ecr-login@v2
|
||||||
|
with:
|
||||||
|
registry-type: public
|
||||||
- name: Setup QEmu so we can build multiplatform
|
- name: Setup QEmu so we can build multiplatform
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
- name: Setup Docker buildx
|
- name: Setup Docker buildx
|
||||||
@ -44,6 +55,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
unleashorg/unleash-server
|
unleashorg/unleash-server
|
||||||
|
public.ecr.aws/unleashorg/unleash-server
|
||||||
flavor: latest=${{ github.event.inputs.is-latest-version || 'auto' }}
|
flavor: latest=${{ github.event.inputs.is-latest-version || 'auto' }}
|
||||||
tags: |
|
tags: |
|
||||||
# only enabled for workflow dispatch except main (assume its a release):
|
# only enabled for workflow dispatch except main (assume its a release):
|
||||||
|
Loading…
Reference in New Issue
Block a user