Skip to content

wip

wip #3

Workflow file for this run

name: Publish
on:
push:
tags:
- v**
jobs:
publish-ecr:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::558830342743:role/PublishCleanerController
role-session-name: github-actions-from-cleaner-controller
aws-region: us-east-1
- name: Login to Amazon ECR Public
id: login-ecr-public
uses: aws-actions/amazon-ecr-login@v2
with:
registry-type: public
- name: Build, tag, and push docker image to Amazon ECR Public
uses: int128/kaniko-action@v1
with:
push: true
tags: ${{ steps.login-ecr-public.outputs.registry }}/f8y0w2c4/cleaner-controller:${{ github.ref_name }}