File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish release
2+
3+ # Run the tasks on every tag
4+ on :
5+ push :
6+ tags : ["**"]
7+
8+ # Publish images to GitHub packages
9+ env :
10+ REGISTRY : ghcr.io/stackhpc
11+ TAG : ${{ github.ref_name }}
12+ RELEASE_ALIAS_TAG : ${{ github.ref_name }}
13+
14+ jobs :
15+ build_push_images :
16+ name : Build and push images
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Check out the repository
20+ uses : actions/checkout@v2
21+
22+ - name : Login to GitHub Container Registry
23+ uses : docker/login-action@v1
24+ with :
25+ registry : ghcr.io
26+ username : ${{ github.actor }}
27+ password : ${{ secrets.GITHUB_TOKEN }}
28+
29+ - name : Calculate metadata for image
30+ id : image-meta
31+ uses : docker/metadata-action@v3
32+ with :
33+ images : ghcr.io/stackhpc/argocd
34+ # Produce the branch name or tag and the SHA as tags
35+ tags : |
36+ type=ref,event=branch
37+ type=ref,event=tag
38+ type=sha,prefix=
39+
40+ - name : Build and push image
41+ uses : stackhpc/github-actions/docker-multiarch-build-push@master
42+ with :
43+ cache-key : argocd
44+ context : .
45+ platforms : linux/amd64,linux/arm64
46+ push : true
47+ tags : ${{ steps.image-meta.outputs.tags }}
48+ labels : ${{ steps.image-meta.outputs.labels }}
Original file line number Diff line number Diff line change @@ -293,3 +293,6 @@ replace (
293293 k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.24.2
294294 k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.24.2
295295)
296+
297+ // For now, use our fork of the gitops-engine
298+ replace github.com/argoproj/gitops-engine => github.com/stackhpc/gitops-engine v0.0.0-20230130171631-92eb90f3ca71
Original file line number Diff line number Diff line change @@ -147,8 +147,6 @@ github.com/antonmedv/expr v1.9.0/go.mod h1:5qsM3oLGDND7sDmQGDXHkYfkjYMUX14qsgqmH
147147github.com/apache/thrift v0.12.0 /go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ =
148148github.com/apache/thrift v0.13.0 /go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ =
149149github.com/appscode/go v0.0.0-20191119085241-0887d8ec2ecc /go.mod h1:OawnOmAL4ZX3YaPdN+8HTNwBveT1jMsqP74moa9XUbE =
150- github.com/argoproj/gitops-engine v0.7.1-0.20221208230615-917f5a0f16d5 h1:iRpHi7X3q9G55KTaMjxKicgNnS2blFHaEfOOgsmP8lE =
151- github.com/argoproj/gitops-engine v0.7.1-0.20221208230615-917f5a0f16d5 /go.mod h1:WpA/B7tgwfz+sdNE3LqrTrb7ArEY1FOPI2pAGI0hfPc =
152150github.com/argoproj/notifications-engine v0.3.1-0.20221203221941-490d98afd1d6 h1:b92Xft7MQv/SP56FW08zt5CMTE1rySH8UPDKOAgSzOM =
153151github.com/argoproj/notifications-engine v0.3.1-0.20221203221941-490d98afd1d6 /go.mod h1:pgPU59KCsBOMhyw9amRWPoSuBmUWvx3Xsc5r0mUriLg =
154152github.com/argoproj/pkg v0.13.7-0.20221115212233-27bd8ce31415 h1:/5UtDHntvwPxbe/j2+xmQgvG83PQueGHko+9sf8+FA0 =
@@ -1065,6 +1063,8 @@ github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/y
10651063github.com/spf13/viper v1.7.0 /go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg =
10661064github.com/spf13/viper v1.8.1 /go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns =
10671065github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf /go.mod h1:RJID2RhlZKId02nZ62WenDCkgHFerpIOmW0iT7GKmXM =
1066+ github.com/stackhpc/gitops-engine v0.0.0-20230130171631-92eb90f3ca71 h1:oTUiRfYmkJMKHtnBxlNVAQ+bUATP7zmXa2R5tX3sMok =
1067+ github.com/stackhpc/gitops-engine v0.0.0-20230130171631-92eb90f3ca71 /go.mod h1:WpA/B7tgwfz+sdNE3LqrTrb7ArEY1FOPI2pAGI0hfPc =
10681068github.com/stoewer/go-strcase v1.2.0 /go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8 =
10691069github.com/storageos/go-api v2.2.0+incompatible /go.mod h1:ZrLn+e0ZuF3Y65PNF6dIwbJPZqfmtCXxFm9ckv0agOY =
10701070github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94 /go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw =
You can’t perform that action at this time.
0 commit comments