Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Commit

Permalink
fix: context
Browse files Browse the repository at this point in the history
  • Loading branch information
sibalzer committed May 25, 2021
1 parent cecda5b commit 2e41b11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/nightly.yaml
Expand Up @@ -20,8 +20,9 @@ jobs:
- name: Build Docker image
run: |
docker build \
-f docker/Dockerfile
-t "ghcr.io/${GITHUB_REPOSITORY}:${GITHUB_SHA:0:7}" \
-t "ghcr.io/${GITHUB_REPOSITORY}:nightly" ./docker
-t "ghcr.io/${GITHUB_REPOSITORY}:nightly" .
- name: Release Docker images to ghcr.io
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Expand Up @@ -31,8 +31,9 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
run: |
docker build \
-f docker/Dockerfile
-t "ghcr.io/${GITHUB_REPOSITORY}:${{ steps.release.outputs.tag_name }}" \
-t "ghcr.io/${GITHUB_REPOSITORY}:latest" ./docker
-t "ghcr.io/${GITHUB_REPOSITORY}:latest" .
- name: Release Docker image to ghcr.io
if: ${{ steps.release.outputs.release_created }}
Expand Down
4 changes: 2 additions & 2 deletions docker/dockerfile
@@ -1,9 +1,9 @@
FROM python:3

WORKDIR /src
COPY ../requirements.txt .
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY ../src/ .
COPY src/ .

WORKDIR /
CMD [ "python", "/src/impfbot.py" ]

0 comments on commit 2e41b11

Please sign in to comment.