Skip to content

Commit

Permalink
Merge pull request #12 from Dpbm/dockerignore
Browse files Browse the repository at this point in the history
added dockerignore
  • Loading branch information
Dpbm authored Nov 23, 2023
2 parents 07e8eca + e93e2ce commit f549602
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
**/*
4 changes: 2 additions & 2 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: .
file: ./ubuntu.Dockerfile
file: ubuntu.Dockerfile
push: true
tags: ${{ steps.meta-ubuntu.outputs.tags }}
labels: ${{ steps.meta-ubuntu.outputs.labels }}
Expand All @@ -51,7 +51,7 @@ jobs:
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: .
file: ./minimal-jupyter.Dockerfile
file: minimal-jupyter.Dockerfile
push: true
tags: ${{ steps.meta-minimal-jupyter.outputs.tags }}
labels: ${{ steps.meta-minimal-jupyter.outputs.labels }}
7 changes: 4 additions & 3 deletions .github/workflows/ghrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
USERNAME: ${{ github.actor }}

jobs:
build-and-push-image-GHRC:
Expand All @@ -22,7 +23,7 @@ jobs:
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
username: ${{ env.USERNAME }}
password: ${{ secrets.TOKEN }}

- name: Extract metadata (tags, labels) for Docker (ubuntu image)
Expand All @@ -38,7 +39,7 @@ jobs:
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: .
file: ./ubuntu.Dockerfile
file: ubuntu.Dockerfile
push: true
tags: ${{ steps.meta-ubuntu.outputs.tags }}
labels: ${{ steps.meta-ubuntu.outputs.labels }}
Expand All @@ -54,7 +55,7 @@ jobs:
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: .
file: ./minimal-jupyter.Dockerfile
file: minimal-jupyter.Dockerfile
push: true
tags: ${{ steps.meta-minimal-jupyter.outputs.tags }}
labels: ${{ steps.meta-minimal-jupyter.outputs.labels }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,4 @@ pyrightconfig.json

# End of https://www.toptal.com/developers/gitignore/api/python

*.secrets
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"DOCKERHUB",
"dpbm",
"GHRC",
"github",
"jupyter",
"linux",
"qiskit"
Expand Down

0 comments on commit f549602

Please sign in to comment.