Skip to content

Commit

Permalink
Update auto-release-ecr-public.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mirii1994 authored May 7, 2023
1 parent 220a8c9 commit a24fcbb
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/auto-release-ecr-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,13 @@ jobs:
tags: ${{ steps.dockeraction.outputs.tags }}-arm
labels: ${{ steps.dockeraction.outputs.labels }}

- name: Create manifest version
- name: Create version
run: |
docker manifest create ${{ steps.dockeraction.outputs.tags }} --amend ${{ steps.dockeraction.outputs.tags }}-arm --amend ${{ steps.dockeraction.outputs.tags }}-amd
- name: Create manifest latest
docker buildx imagetools create -t ${{ steps.dockeraction.outputs.tags }} \
${{ steps.dockeraction.outputs.tags }}-arm \
${{ steps.dockeraction.outputs.tags }}-amd
- name: Create latest
run: |
docker manifest create public.ecr.aws/logzio/logzio-fluentd:latest --amend public.ecr.aws/logzio/logzio-fluentd:latest-arm --amend public.ecr.aws/logzio/logzio-fluentd:latest-amd
- name: Push manifest latest
run: |
docker manifest push public.ecr.aws/logzio/logzio-fluentd:latest
- name: Push manifest version
run: |
docker manifest push ${{ steps.dockeraction.outputs.tags }}
docker buildx imagetools create -t public.ecr.aws/logzio/logzio-fluentd:latest \
public.ecr.aws/logzio/logzio-fluentd:latest-arm \
public.ecr.aws/logzio/logzio-fluentd:latest-amd

0 comments on commit a24fcbb

Please sign in to comment.