This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
chore(deps): bump github.com/aws/aws-sdk-go-v2/config in /runner #1865
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous | |
on: | |
- push | |
- workflow_dispatch | |
permissions: | |
contents: read | |
id-token: write | |
packages: write | |
jobs: | |
all: | |
strategy: | |
fail-fast: false | |
matrix: | |
component: | |
- dind | |
- operator | |
- runner | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
- name: docker build | |
run: make -C '${{ matrix.component }}' docker-build | |
- name: aws configure | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-region: ${{ secrets.AWS_REGION }} | |
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT }}:role/ecr-public | |
- name: docker login | |
run: | | |
docker login -u '${{ secrets.DOCKERHUB_USER }}' -p '${{ secrets.DOCKERHUB_PASS }}' docker.io | |
docker login -u '${{ secrets.QUAY_USER }}' -p '${{ secrets.QUAY_PASS }}' quay.io | |
docker login -u '${{ github.actor }}' -p '${{ github.token }}' ghcr.io | |
docker login -u 'AWS' -p "$(aws ecr-public get-login-password)" public.ecr.aws | |
- name: docker tag | |
run: | | |
make 'IMAGE_REGISTRY=docker.io' 'IMAGE_REPOSITORY=inloco/kube-actions' -C '${{ matrix.component }}' docker-tag | |
make 'IMAGE_REGISTRY=quay.io' 'IMAGE_REPOSITORY=inloco/kube-actions' -C '${{ matrix.component }}' docker-tag | |
make 'IMAGE_REGISTRY=ghcr.io' 'IMAGE_REPOSITORY=${{ github.repository }}' -C '${{ matrix.component }}' docker-tag | |
make 'IMAGE_REGISTRY=public.ecr.aws' 'IMAGE_REPOSITORY=incognia/kube-actions' -C '${{ matrix.component }}' docker-tag | |
- name: docker push | |
shell: '/usr/bin/env parallel --lb --retries 3 :::: {0}' | |
run: | | |
make 'IMAGE_REGISTRY=docker.io' 'IMAGE_REPOSITORY=inloco/kube-actions' -C '${{ matrix.component }}' docker-push | |
make 'IMAGE_REGISTRY=quay.io' 'IMAGE_REPOSITORY=inloco/kube-actions' -C '${{ matrix.component }}' docker-push | |
make 'IMAGE_REGISTRY=ghcr.io' 'IMAGE_REPOSITORY=${{ github.repository }}' -C '${{ matrix.component }}' docker-push | |
make 'IMAGE_REGISTRY=public.ecr.aws' 'IMAGE_REPOSITORY=incognia/kube-actions' -C '${{ matrix.component }}' docker-push |