Skip to content

Commit

Permalink
chore: remove pushing to dockerhub (#24)
Browse files Browse the repository at this point in the history
* chore: remove pushing to dockerhub

* Update README.md
  • Loading branch information
griseau authored Aug 21, 2023
1 parent 0a8a46a commit fe08920
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/continuous-delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,18 @@ jobs:
uses: docker/setup-buildx-action@v1
- env:
DOCKER_BUILDKIT: 1
DOCKER_HUB_REGISTRY_USERNAME:
${{ secrets.DOCKER_HUB_REGISTRY_USERNAME }}
DOCKER_HUB_REGISTRY_PASSWORD:
${{ secrets.DOCKER_HUB_REGISTRY_PASSWORD }}
GITHUB_REGISTRY_USERNAME: ${{ github.actor }}
GITHUB_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
name: Build and release
run: |
# GitHub Packages Registry
echo $GITHUB_REGISTRY_PASSWORD | docker login ghcr.io --username $GITHUB_REGISTRY_USERNAME --password-stdin
# Docker Hub
echo $DOCKER_HUB_REGISTRY_PASSWORD | docker login registry.hub.docker.com --username $DOCKER_HUB_REGISTRY_USERNAME --password-stdin
VERSION=`cat ./VERSION`
docker buildx build \
--build-arg VERSION=$VERSION \
--output=type=registry \
--platform linux/amd64,linux/arm64 \
--tag ghcr.io/ridedott/pubsub-emulator:latest \
--tag ghcr.io/ridedott/pubsub-emulator:$VERSION \
--tag registry.hub.docker.com/ridedott/pubsub-emulator:latest \
--tag registry.hub.docker.com/ridedott/pubsub-emulator:$VERSION \
.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ docker pull ghcr.io/ridedott/pubsub-emulator:latest
docker run ridedott/pubsub-emulator:latest
```

### From Docker Hub

```bash
docker pull ridedott/pubsub-emulator:latest
docker run ridedott/pubsub-emulator:latest
```

## Getting Started

These instructions will get you an instance of the GCP pubsub-emulator running
Expand Down

0 comments on commit fe08920

Please sign in to comment.