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

🔄 synced file(s) with neurobagel/workflows #432

Open
wants to merge 2 commits into
base: main
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
10 changes: 3 additions & 7 deletions .github/workflows/build_docker_nightly.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# NOTE: A custom version of this template workflow is used in neurobagel/query-tool.
# Any changes to this template must be applied manually to query-tool/.github/workflows/build_docker_nightly.yml

name: build docker nightly

on:
Expand Down Expand Up @@ -28,14 +31,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/arm64, linux/amd64
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ vars.DOCKERHUB_REPO }}:nightly

# Verify that build was successful
# TODO: replace this with an actual test
- name: Run cli help
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/${{ vars.DOCKERHUB_REPO }}:nightly --help
6 changes: 0 additions & 6 deletions .github/workflows/build_docker_on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/arm64, linux/amd64
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand All @@ -59,8 +58,3 @@ jobs:
org.opencontainers.image.created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.source'] }}
org.opencontainers.image.revision=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
org.opencontainers.image.version=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}

# Verify that build was successful
- name: Run cli help
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/${{ vars.DOCKERHUB_REPO }}:latest --help
Loading