Skip to content

Commit b8237cd

Browse files
committed
Fixup GitHub pipeline
1 parent 0b26598 commit b8237cd

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/docker-build-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
- Pipfile
1616
- Pipfile.lock
1717
- .devcontainer/Dockerfile
18+
workflow_dispatch:
1819

1920
jobs:
2021
build-and-publish:
@@ -43,4 +44,4 @@ jobs:
4344
context: .
4445
file: .devcontainer/Dockerfile
4546
push: true
46-
tags: ghcr.io/${{ github.repository_owner }}/project-python:latest
47+
tags: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest

.github/workflows/project-build-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
build-doc:
2121
runs-on: ubuntu-latest
2222
container:
23-
image: ghcr.io/${{ github.repository_owner }}/project-python:latest
23+
image: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest
2424
options: --user 1001
2525
steps:
2626
- name: Checkout code
@@ -37,7 +37,7 @@ jobs:
3737
build-package:
3838
runs-on: ubuntu-latest
3939
container:
40-
image: ghcr.io/${{ github.repository_owner }}/project-python:latest
40+
image: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest
4141
options: --user 1001
4242
steps:
4343
- name: Checkout code
@@ -54,7 +54,7 @@ jobs:
5454
lint-package:
5555
runs-on: ubuntu-latest
5656
container:
57-
image: ghcr.io/${{ github.repository_owner }}/project-python:latest
57+
image: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest
5858
options: --user 1001
5959
steps:
6060
- name: Checkout code
@@ -72,7 +72,7 @@ jobs:
7272
test-package:
7373
runs-on: ubuntu-latest
7474
container:
75-
image: ghcr.io/${{ github.repository_owner }}/project-python:latest
75+
image: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest
7676
options: --user 1001
7777
steps:
7878
- name: Checkout code

0 commit comments

Comments
 (0)