Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dockerhub and add README #33

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 6 additions & 12 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
- name: test-multi
working-directory: ./integration/tests
run: ./multi.sh
deploy:
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/') }}
needs: test
steps:
- name: Login to GHCR
uses: docker/login-action@v1
with:
Expand All @@ -31,19 +36,8 @@ jobs:
uses: battila7/get-version-action@v2
- name: Push to GHCR
uses: docker/build-push-action@v2
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
push: true
tags: ghcr.io/soluto/dqd:${{ steps.get_version.outputs.version }}
labels: |
org.opencontainers.image.source=${{ github.event.repository.html_url }}
- name: Push to Dockerhub
uses: docker/build-push-action@v1
env:
DOCKER_BUILDKIT: 1
with:
username: solutodqd
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: soluto/dqd
tag_with_sha: ${{ github.ref == 'refs/heads/master'}}
tag_with_ref: ${{ github.ref != 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
org.opencontainers.image.source=${{ github.event.repository.html_url }}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ run ```dqd```
### Using Docker
run ```docker run -v `pwd`:/etc/dqd soluto/dqd``` in a folder that conatins dqd.yaml

### Publishing a new version
for each git tag a new image is being pushed to ghcr.io: `soluto/dqd:<tag_name>`

## Status
DQD is in very early stage (pre-alpha) and shouldn't be used in production yet.