Skip to content

Commit

Permalink
Change the docker user name to kvrocks (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
git-hulk committed Jun 2, 2024
1 parent cb559f0 commit 0135649
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,13 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: build and publish image
env:
DOCKER_REPO: docker.io/${{ secrets.DOCKER_USERNAME }}/kvrocks-exporter
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--label "org.opencontainers.image.source=https://github.com/${{ github.repository_owner }}/kvrocks-exporter" \
--label "org.opencontainers.image.source=https://github.com/${{ github.repository_owner }}/kvrocks_exporter" \
--label "org.opencontainers.image.description=kvrocks-exporter image" \
--label "org.opencontainers.image.licenses=Apache-2.0" \
--push \
-t ${DOCKER_REPO}:latest \
-t docker.io/kvrocks/kvrocks_exporter:latest \
-f Dockerfile \
.

0 comments on commit 0135649

Please sign in to comment.