Skip to content

Commit d1f9c93

Browse files
committed
add push tests
1 parent fe35d40 commit d1f9c93

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/prod.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
types:
77
- released
88
- prereleased
9+
push:
10+
branches:
911
- ch-add-releases-workflow
1012

1113
jobs:
@@ -20,7 +22,7 @@ jobs:
2022
- name: Checkout
2123
uses: actions/checkout@v4
2224
with:
23-
ref: staging
25+
ref: ch-add-releases-workflow
2426

2527
- name: Install (Buildx)
2628
uses: docker/setup-buildx-action@v3
@@ -59,7 +61,7 @@ jobs:
5961
cache-from: type=gha
6062
cache-to: type=gha,mode=max
6163
context: .
62-
file: docker/prod/Dockerfile
64+
file: Dockerfile
6365
labels: ${{ steps.meta.outputs.labels }}
6466
push: true
6567
tags: ${{ steps.meta.outputs.tags }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COPY ./poetry.lock /app/poetry.lock
1616

1717
COPY ./README.md /app/README.md
1818

19-
RUN poetry install
19+
RUN poetry install --no-root
2020

2121
COPY . /app
2222

Dockerfile.api

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ COPY ./pyproject.toml /app/pyproject.toml
1414

1515
COPY ./poetry.lock /app/poetry.lock
1616

17+
COPY ./README.md /app/README.md
1718

18-
RUN poetry install
19+
RUN poetry install --no-root
1920

2021
COPY . /app
2122

celerybeat-schedule.dat

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)