-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alejandro M. Ramallo <[email protected]>
- Loading branch information
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,7 @@ jobs: | |
- name: Build and push | ||
uses: docker/build-push-action@v6 | ||
with: | ||
push: true | ||
context: . | ||
file: ./deployment/Dockerfile | ||
platforms: linux/arm64 | ||
|
@@ -116,6 +117,7 @@ jobs: | |
- name: Build and push | ||
uses: docker/build-push-action@v6 | ||
with: | ||
push: true | ||
context: . | ||
file: ./deployment/Dockerfile | ||
platforms: linux/amd64 | ||
|
@@ -167,10 +169,17 @@ jobs: | |
--amend leapsight/${{ steps.meta.outputs.tags }}-arm64 | ||
docker manifest push leapsight/${{ steps.meta.outputs.tags }} | ||
- | ||
name: Login to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ github.token }} | ||
- | ||
# Copy multiplatform image from dockerhub to Github Registry | ||
# without changing the image SHA | ||
name: Copy Image to GH Registry | ||
name: Copy Image to GitHub Container Registry | ||
uses: akhilerm/[email protected] | ||
with: | ||
src: docker.io/leapsight/${{ steps.meta.outputs.tags }} | ||
|