Skip to content

Commit

Permalink
GitHub Actions: geração correta de manifest - 5.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbullajr committed May 9, 2024
1 parent 87711e6 commit cb1b760
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,9 @@ jobs:

- name: Publish images to ghcr.io
run: |
docker manifest annotate --arch amd64 --os linux ghcr.io/larc-logs-transparentes/bu-service:${{env.IMAGE_TAG}}
docker push ghcr.io/larc-logs-transparentes/bu-service:${{env.IMAGE_TAG}}
docker manifest annotate --arch amd64 --os linux ghcr.io/larc-logs-transparentes/back-pub:${{env.IMAGE_TAG}}
docker push ghcr.io/larc-logs-transparentes/back-pub:${{env.IMAGE_TAG}}
docker manifest annotate --arch amd64 --os linux ghcr.io/larc-logs-transparentes/frontend:${{env.IMAGE_TAG}}
docker push ghcr.io/larc-logs-transparentes/frontend:${{env.IMAGE_TAG}}
docker manifest annotate --arch amd64 --os linux ghcr.io/larc-logs-transparentes/tlmanager:${{env.IMAGE_TAG}}
docker push ghcr.io/larc-logs-transparentes/tlmanager:${{env.IMAGE_TAG}}
- name: Tag Repository logs-transparentes
Expand Down Expand Up @@ -143,13 +139,9 @@ jobs:

- name: Publish MacOS images to ghcr.io
run: |
docker manifest annotate --arch arm64 --os linux ghcr.io/larc-logs-transparentes/bu-service:${{env.IMAGE_ARM_TAG}}
docker push ghcr.io/larc-logs-transparentes/bu-service:${{env.IMAGE_ARM_TAG}}
docker manifest annotate --arch arm64 --os linux ghcr.io/larc-logs-transparentes/back-pub:${{env.IMAGE_ARM_TAG}}
docker push ghcr.io/larc-logs-transparentes/back-pub:${{env.IMAGE_ARM_TAG}}
docker manifest annotate --arch arm64 --os linux ghcr.io/larc-logs-transparentes/frontend:${{env.IMAGE_ARM_TAG}}
docker push ghcr.io/larc-logs-transparentes/frontend:${{env.IMAGE_ARM_TAG}}
docker manifest annotate --arch arm64 --os linux ghcr.io/larc-logs-transparentes/tlmanager:${{env.IMAGE_ARM_TAG}}
docker push ghcr.io/larc-logs-transparentes/tlmanager:${{env.IMAGE_ARM_TAG}}
Expand All @@ -171,6 +163,8 @@ jobs:
ghcr.io/larc-logs-transparentes/bu-service:latest \
--amend ghcr.io/larc-logs-transparentes/bu-service:${{env.IMAGE_ARM_TAG}} \
--amend ghcr.io/larc-logs-transparentes/bu-service:${{env.IMAGE_TAG}}
docker manifest annotate --arch amd64 --os linux ghcr.io/larc-logs-transparentes/bu-service:latest ghcr.io/larc-logs-transparentes/bu-service:${{env.IMAGE_TAG}}
docker manifest annotate --arch arm64 --os linux ghcr.io/larc-logs-transparentes/bu-service:latest ghcr.io/larc-logs-transparentes/bu-service:${{env.IMAGE_ARM_TAG}}
docker manifest push ghcr.io/larc-logs-transparentes/bu-service:latest
- name: Create Docker manifest - Backend Public
Expand All @@ -179,6 +173,8 @@ jobs:
ghcr.io/larc-logs-transparentes/back-pub:latest \
--amend ghcr.io/larc-logs-transparentes/back-pub:${{env.IMAGE_ARM_TAG}} \
--amend ghcr.io/larc-logs-transparentes/back-pub:${{env.IMAGE_TAG}}
docker manifest annotate --arch amd64 --os linux ghcr.io/larc-logs-transparentes/back-pub:latest ghcr.io/larc-logs-transparentes/back-pub:${{env.IMAGE_TAG}}
docker manifest annotate --arch arm64 --os linux ghcr.io/larc-logs-transparentes/back-pub:latest ghcr.io/larc-logs-transparentes/back-pub:${{env.IMAGE_ARM_TAG}}
docker manifest push ghcr.io/larc-logs-transparentes/back-pub:latest
- name: Create Docker manifest - Frontend
Expand All @@ -187,6 +183,8 @@ jobs:
ghcr.io/larc-logs-transparentes/frontend:latest \
--amend ghcr.io/larc-logs-transparentes/frontend:${{env.IMAGE_ARM_TAG}} \
--amend ghcr.io/larc-logs-transparentes/frontend:${{env.IMAGE_TAG}}
docker manifest annotate --arch amd64 --os linux ghcr.io/larc-logs-transparentes/frontend:latest ghcr.io/larc-logs-transparentes/frontend:${{env.IMAGE_TAG}}
docker manifest annotate --arch arm64 --os linux ghcr.io/larc-logs-transparentes/frontend:latest ghcr.io/larc-logs-transparentes/frontend:${{env.IMAGE_ARM_TAG}}
docker manifest push ghcr.io/larc-logs-transparentes/frontend:latest
- name: Create Docker manifest - TL Manager
Expand All @@ -195,5 +193,7 @@ jobs:
ghcr.io/larc-logs-transparentes/tlmanager:latest \
--amend ghcr.io/larc-logs-transparentes/tlmanager:${{env.IMAGE_ARM_TAG}} \
--amend ghcr.io/larc-logs-transparentes/tlmanager:${{env.IMAGE_TAG}}
docker manifest annotate --arch amd64 --os linux ghcr.io/larc-logs-transparentes/tlmanager:latest ghcr.io/larc-logs-transparentes/tlmanager:${{env.IMAGE_TAG}}
docker manifest annotate --arch arm64 --os linux ghcr.io/larc-logs-transparentes/tlmanager:latest ghcr.io/larc-logs-transparentes/tlmanager:${{env.IMAGE_ARM_TAG}}
docker manifest push ghcr.io/larc-logs-transparentes/tlmanager:latest

0 comments on commit cb1b760

Please sign in to comment.