Skip to content
Open
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
8 changes: 6 additions & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ jobs:
- uses: actions/checkout@v2
- name: install latest buildx
run: mkdir -p ~/.docker/cli-plugins && wget -O ~/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.4.1/buildx-v0.4.1.linux-amd64 && chmod a+x ~/.docker/cli-plugins/docker-buildx
- name: login
env:
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
run: echo $DOCKERHUB_TOKEN | docker login --username solutodqd --password-stdin
- name: build
env:
DOCKER_BUILDKIT: 1
DOCKER_CLI_EXPERIMENTAL: enabled
working-directory: ./integration/docker
run: docker buildx bake -f ./docker-compose.base.yaml -f ./docker-compose.worker.yaml -f ./docker-compose.producer.yaml --load
run: docker buildx create --use && docker buildx bake --set "dqd.cache-to=soluto/dqd:build-cache-dqd" --set "dqd.cache-from=soluto/dqd:build-cache-dqd" --set "worker.cache-to=soluto/dqd:build-cache-worker" --set "worker.cache-from=soluto/dqd:build-cache-worker" --set "producer.cache-to=soluto/dqd:build-cache-producer" --set "producer.cache-from=soluto/dqd:build-cache-producer" -f ./docker-compose.base.yaml -f ./docker-compose.worker.yaml -f ./docker-compose.producer.yaml --load
- name: test-multi
working-directory: ./integration/tests
run: ./multi.sh
Expand All @@ -39,4 +43,4 @@ jobs:
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/') }}
tag_with_ref: ${{ github.ref != 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}