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

Add Docker Deployment #11

Merged
merged 13 commits into from
Nov 4, 2024
Prev Previous commit
Next Next commit
do not use context
no setuptools-scm

Co-authored-by: Pavel Zwerschke <pavelzw@gmail.com>
  • Loading branch information
ytausch and pavelzw committed Oct 31, 2024
commit a1091d686f9c5b6b1752f9b6ca41f17cd3a33ae1
8 changes: 1 addition & 7 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
@@ -23,10 +23,6 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
# need git information for metadata
fetch-depth: 0
ref: ${{ github.head_ref }}

- name: Login into GHCR
if: github.ref_name == 'main'
@@ -41,7 +37,7 @@ jobs:
id: meta
with:
images: |
ghcr.io/Quansight-Labs/conda-metadata-app
ghcr.io/${{ github.repository }}
tags: | # no explicit versioning, always overwrite latest
type=raw,value=latest,enable=true
- name: Build and push
@@ -52,5 +48,3 @@ jobs:
file: Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# need git information for metadata
context: .