Skip to content

Commit

Permalink
update Release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBeatles1994 committed Dec 29, 2021
1 parent 466a72d commit a504f1d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,22 @@ jobs:
id: meta-amd64
uses: docker/metadata-action@v3
with:
images: thebeatles1994/open-local
images: ack-agility-registry.cn-shanghai.cr.aliyuncs.com/ecp_builder/open-local
tags: |
type=ref,event=tag
- name: Docker arm64 meta
id: meta-arm64
uses: docker/metadata-action@v3
with:
images: thebeatles1994/open-local
images: ack-agility-registry.cn-shanghai.cr.aliyuncs.com/ecp_builder/open-local
tags: |
type=ref,event=tag,suffix=-arm64
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
registry: ack-agility-registry.cn-shanghai.cr.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}

- name: Build and push amd64
uses: docker/build-push-action@v2.5.0
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ GO_PACKAGE=github.com/alibaba/open-local
# build info
NAME=open-local
OUTPUT_DIR=./bin
IMAGE_NAME=thebeatles1994/${NAME}
IMAGE_NAME=ack-agility-registry.cn-shanghai.cr.aliyuncs.com/ecp_builder/${NAME}
MAIN_FILE=./cmd/main.go
LD_FLAGS=-ldflags "-X '${GO_PACKAGE}/pkg/version.GitCommit=$(GIT_COMMIT)' -X '${GO_PACKAGE}/pkg/version.Version=$(VERSION)' -X 'main.VERSION=$(VERSION)' -X 'main.COMMITID=$(GIT_COMMIT)'"
GIT_COMMIT=$(shell git rev-parse HEAD)
VERSION=v0.3.3-dev
VERSION=v0.4.0

CRD_OPTIONS ?= "crd:trivialVersions=true"
CRD_VERSION=v1alpha1
Expand Down
14 changes: 7 additions & 7 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ namespace: kube-system
driver: local.csi.aliyun.com
images:
local:
image: thebeatles1994/open-local
tag: v0.3.3-dev
image: ack-agility-registry.cn-shanghai.cr.aliyuncs.com/ecp_builder/open-local
tag: v0.4.0
registrar:
image: thebeatles1994/csi-node-driver-registrar
image: ack-agility-registry.cn-shanghai.cr.aliyuncs.com/ecp_builder/csi-node-driver-registrar
tag: v2.3.0
provisioner:
image: thebeatles1994/csi-provisioner
image: ack-agility-registry.cn-shanghai.cr.aliyuncs.com/ecp_builder/csi-provisioner
tag: v2.2.2
resizer:
image: thebeatles1994/csi-resizer
image: ack-agility-registry.cn-shanghai.cr.aliyuncs.com/ecp_builder/csi-resizer
tag: v1.3.0
snapshotter:
image: thebeatles1994/csi-snapshotter
image: ack-agility-registry.cn-shanghai.cr.aliyuncs.com/ecp_builder/csi-snapshotter
tag: v4.2.1
snapshot_controller:
image: thebeatles1994/snapshot-controller
image: ack-agility-registry.cn-shanghai.cr.aliyuncs.com/ecp_builder/snapshot-controller
tag: v4.2.1
agent:
name: open-local-agent
Expand Down

0 comments on commit a504f1d

Please sign in to comment.