Skip to content

Release v1.0.5

Release v1.0.5 #5

Workflow file for this run

name: 'Dev Release'
on:
push:
tags: '**'
concurrency:
group: ${{ github.ref_name }}
jobs:
dev-release:
name: Release to private ECR
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: 'true'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.UTILITY_ACCOUNT_ID }}:role/DrawioGithubActionsAccessRole
aws-region: eu-north-1
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ steps.login-ecr.outputs.registry }}/drawio:${{ github.ref_name }}
provenance: false
cache-from: type=gha
cache-to: type=gha,mode=max