Skip to content

Commit

Permalink
Merge pull request #686 from wongma7/debdockerhub
Browse files Browse the repository at this point in the history
Push debian target to Docker Hub
  • Loading branch information
k8s-ci-robot authored Jan 8, 2021
2 parents e0b0ffc + 3a82e15 commit 0edd545
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/container-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push debian target to Docker Hub
run: |
DEB_PUSH_TAG="amazon/$IMAGE:$TAG"
docker buildx build \
-t $DEB_PUSH_TAG \
--platform=linux/arm64,linux/amd64 \
--output="type=image,push=true" . \
--target=debian-base
- name: Push amazonlinux target to Docker Hub
run: |
AL2_PUSH_TAG="amazon/$IMAGE:$TAG-amazonlinux"
Expand Down

0 comments on commit 0edd545

Please sign in to comment.