mirror of https://github.com/pyodide/pyodide.git
Fix CI Pre-build docker image not deploying on tags (#2105)
This commit is contained in:
parent
9d515cc2d2
commit
3f5a6aceda
|
@ -1,8 +1,7 @@
|
|||
name: prebuilt-docker-image
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*.*.*"
|
||||
release:
|
||||
types: [published]
|
||||
env:
|
||||
GHCR_REGISTRY: ghcr.io
|
||||
IMAGE_NAME: pyodide/pyodide
|
||||
|
@ -33,7 +32,7 @@ jobs:
|
|||
push: true
|
||||
build-args: |
|
||||
VERSION=${{ env.PYODIDE_ENV_VERSION }}
|
||||
tags: ${{ env.IMAGE_NAME }}:${{ github.event.inputs.version }}
|
||||
tags: ${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.build.outputs.digest }}
|
||||
|
@ -61,7 +60,7 @@ jobs:
|
|||
push: true
|
||||
build-args: |
|
||||
VERSION=${{ env.PYODIDE_ENV_VERSION }}
|
||||
tags: ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.version }}
|
||||
tags: ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.release.tag_name }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.build.outputs.digest }}
|
||||
|
|
Loading…
Reference in New Issue