File tree Expand file tree Collapse file tree 2 files changed +4
-20
lines changed
Expand file tree Collapse file tree 2 files changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,12 @@ jobs:
1717 uses : actions/checkout@v3
1818 with :
1919 fetch-depth : 0
20+
2021 - name : Set up Go
2122 uses : actions/setup-go@v5
2223 with :
2324 go-version : " 1.24.x"
25+
2426 - name : Install Go tools
2527 run : go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.4.1
2628
3133 install-only : true
3234 distribution : goreleaser
3335 version : 1.2.5
36+
3437 - name : Build and publish the next release
3538 run : |
3639 make release-build
@@ -46,29 +49,10 @@ jobs:
4649 - name : Set release tag
4750 run : |
4851 echo "TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
52+
4953 - name : Set up Docker Buildx
5054 uses : docker/setup-buildx-action@v2
51- - name : Login to DockerHub
52- uses : docker/login-action@v2
53- with :
54- username : ${{ secrets.DOCKER_USERNAME }}
55- password : ${{ secrets.DOCKER_ACCESS_TOKEN }}
56- - name : Build and push docker
57- uses : docker/build-push-action@v3
58- with :
59- build-args : |
60- TAG=${{ env.TAG }}
61- context : .
62- file : docker/nexus/Dockerfile
63- tags : |
64- oasislabs/oasis-indexer:${{ env.TAG }}
65- push : true
66- labels : |
67- org.opencontainers.image.source=${{ github.event.repository.html_url }}
68- org.opencontainers.image.revision=${{ github.sha }}
6955
70- # Also push the image to ghcr.io/oasisprotocol/nexus.
71- # XXX: In future, we will remove the Dockerhub repository and only push to ghcr.io.
7256 - name : Login to ghcr.io
7357 uses : docker/login-action@v2
7458 with :
You can’t perform that action at this time.
0 commit comments