Skip to content

Commit

Permalink
fix: invalid command
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Jul 17, 2024
1 parent b2943d2 commit 957c5a0
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/dockers-image-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:

ubuntu:
runs-on: ubuntu-latest
env:
CREATED_IMAGE_NAME: buildbase
strategy:
matrix:
target_images: ["ubuntu:devel"]
Expand Down Expand Up @@ -75,8 +77,18 @@ jobs:
--platform linux/arm/v8 ${{ matrix.target_images }}
- name: Tag Docker image for GHCR
run: |
docker tag ubuntu:devel ghcr.io/vdaas/vald/buildbase:devel-amd64 --platform linux/amd64
docker tag ubuntu:devel ghcr.io/vdaas/vald/buildbase:devel-arm64-v7 --platform linux/arm64/v7
docker tag ubuntu:devel ghcr.io/vdaas/vald/buildbase:devel-arm64-v8 --platform linux/arm64/v8
# docker tag ${{ matrix.target_images }} ghcr.io/${ORG}/${REPO}/build-base
# docker images
docker tag ${{ matrix.target_images }} ghcr.io/${ORG}/${REPO}/${CREATED_IMAGE_NAME} --platform linux/amd64
docker images
# - name: Pull Docker image from Docker Hub
# run: |
# docker pull --platform linux/amd64 \
# --platform linux/arm/v7 \
# --platform linux/arm/v8 ${{ matrix.target_images }}
# - name: Tag Docker image for GHCR
# run: |
# docker tag ubuntu:devel ghcr.io/vdaas/vald/buildbase:devel-amd64 --platform linux/amd64
# docker tag ubuntu:devel ghcr.io/vdaas/vald/buildbase:devel-arm64-v7 --platform linux/arm64/v7
# docker tag ubuntu:devel ghcr.io/vdaas/vald/buildbase:devel-arm64-v8 --platform linux/arm64/v8
# # docker tag ${{ matrix.target_images }} ghcr.io/${ORG}/${REPO}/build-base
# # docker images

0 comments on commit 957c5a0

Please sign in to comment.