Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit bc9671b

Browse files
Decouple intelpython3_core and intelpython3_full to fix publish.yml
1 parent 3d0a599 commit bc9671b

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

.github/workflows/publish.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,30 @@ jobs:
1919
username: ${{ secrets.DOCKER_LOGIN_USERNAME }}
2020
password: ${{ secrets.DOCKER_LOGIN_PASSWORD }}
2121

22-
- name: Extract metadata (tags, labels) for Docker
23-
id: meta
22+
- name: Extract intelpython3_core metadata (tags, labels) for Docker
23+
id: meta_core
2424
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
2525
with:
26-
images:
27-
- intelpython/intelpython3_core
28-
- intelpython/intelpython3_full
26+
images: intelpython/intelpython3_core
2927

30-
- name: Build and push Docker image
28+
- name: Extract intelpython3_full metadata (tags, labels) for Docker
29+
id: meta_full
30+
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
31+
with:
32+
images: intelpython/intelpython3_full
33+
34+
- name: Build and push Docker image for intelpython3_core
35+
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
36+
with:
37+
context: .
38+
push: true
39+
tags: ${{ steps.meta_core.outputs.tags }}
40+
labels: ${{ steps.meta_core.outputs.labels }}
41+
42+
- name: Build and push Docker image for intelpython3_full
3143
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
3244
with:
3345
context: .
3446
push: true
35-
tags: ${{ steps.meta.outputs.tags }}
36-
labels: ${{ steps.meta.outputs.labels }}
47+
tags: ${{ steps.meta_full.outputs.tags }}
48+
labels: ${{ steps.meta_full.outputs.labels }}

0 commit comments

Comments
 (0)