Skip to content

Commit

Permalink
etcd
Browse files Browse the repository at this point in the history
  • Loading branch information
yylt committed Sep 30, 2024
1 parent cbfd732 commit 44b3917
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/etcd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
default: 'on'
env:
Dockerfile: Dockerfile-etcd
DefaultV: "v3.5.15"
DefaultV: "v3.5.16"
REGISTRY_GCR: "gcr.io" #gcr.io
REGISTRY_NAME: "${{ secrets.MY_HUB_NAME }}"
REGISTRY_USER: "${{ secrets.MY_HUB_USER }}"
Expand All @@ -42,6 +42,7 @@ jobs:
- name: Getting image tag
id: tag
run: |
set -x
echo "trigger by ${{ github.event_name }}"
echo "sha256 is ${{ github.sha }}"
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
image_repo=${{ env.REGISTRY_NAME }}/captain/etcd:${{ env.tag }}
image_repo2=${{ env.REGISTRY_NAME }}/production/etcd:${{ env.tag }}
buildah bud --no-cache --platform linux/amd64 \
--build-arg BASE_IMAGE=${{ env.REGISTRY_GCR }}/etcd-development/etcd:v3.5.15 \
--build-arg BASE_IMAGE=${{ env.REGISTRY_GCR }}/etcd-development/etcd:${{ env.tag }} \
-t $image_repo \
-t $image_repo2 \
-f ./${{ env.Dockerfile }} .
Expand All @@ -89,7 +90,7 @@ jobs:
# arm64
image_repo=${{ env.REGISTRY_NAME }}/arm64v8/etcd:${{ env.tag }}
buildah bud --no-cache --platform linux/arm64 \
--build-arg BASE_IMAGE=${{ env.REGISTRY_GCR }}/etcd-development/etcd:v3.5.15 \
--build-arg BASE_IMAGE=${{ env.REGISTRY_GCR }}/etcd-development/etcd:${{ env.tag }} \
-t $image_repo \
--build-arg TARGETARCH=arm64 \
-f ./${{ env.Dockerfile }} .
Expand Down

0 comments on commit 44b3917

Please sign in to comment.