Skip to content

Commit b07faa1

Browse files
authored
Merge pull request #1086 from oasisprotocol/ptrus/feature/remove-dockerhub
ci/release: Remove dockerhub
2 parents a6e59cd + 00ef521 commit b07faa1

File tree

2 files changed

+4
-20
lines changed

2 files changed

+4
-20
lines changed

.changelog/1086.trivial.md

Whitespace-only changes.

.github/workflows/release.yaml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff 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

@@ -31,6 +33,7 @@ jobs:
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:

0 commit comments

Comments
 (0)