Skip to content

Commit

Permalink
Update ecr image pusher to also use chef docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Jan 9, 2025
1 parent 84c1c82 commit 7af9bac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 142 deletions.
71 changes: 0 additions & 71 deletions .github/workflows/build-debug-docker-release.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build-debug-docker-with-chef.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Push Docker Image (Chef)
name: Build and Push Debug Docker Image (Chef)

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
69 changes: 0 additions & 69 deletions .github/workflows/build-main-debug-docker-container.yaml

This file was deleted.

6 changes: 5 additions & 1 deletion .github/workflows/docker_ecr_arch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- ".github/workflows/docker_ecr_arch64.yaml"
tags:
- unleash-edge-v[0-9]+.*
workflow_dispatch:
permissions:
id-token: write
contents: read
Expand All @@ -22,13 +23,15 @@ jobs:
uses: actions/checkout@v4
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
if: github.event_name != 'pull_request'
with:
role-to-assume: arn:aws:iam::726824350591:role/unleash-github-ecr-private-publish-role
role-session-name: actions-push-to-ecr-private
aws-region: eu-north-1
- name: Login to ECR
id: login-ecr-eu-north
uses: aws-actions/amazon-ecr-login@v2
if: github.event_name != 'pull_request'
- name: Setup docker buildx
uses: docker/setup-buildx-action@v3
- name: Docker meta configuration (set image and tag)
Expand All @@ -47,11 +50,12 @@ jobs:
with:
context: .
platforms: linux/arm64
push: true
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
notifypipeline:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
timeout-minutes: 5
needs: docker
steps:
Expand Down

0 comments on commit 7af9bac

Please sign in to comment.