Compare commits
1 changed files with 6 additions and 2 deletions
|
|
@ -3,15 +3,19 @@ name: Upload the container
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-upload:
|
build-and-upload:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- uses: https://git.dzuchun.ing/actions/checkout@v1
|
- name: Checkout code
|
||||||
|
uses: https://git.dzuchun.ing/actions/checkout@v1
|
||||||
|
|
||||||
- uses: https://git.dzuchun.ing/actions/container-upload@v0.4.1
|
- name: Build and upload the image
|
||||||
|
uses: https://git.dzuchun.ing/actions/container-upload@v0.4.1
|
||||||
with:
|
with:
|
||||||
registry-user: actions
|
registry-user: actions
|
||||||
token: ${{ secrets.REGISTRY_PAT }}
|
token: ${{ secrets.REGISTRY_PAT }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue