Compare commits
1 changed files with 6 additions and 2 deletions
|
|
@ -3,15 +3,19 @@ name: Upload the container
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
|
||||
jobs:
|
||||
build-and-upload:
|
||||
runs-on: docker
|
||||
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:
|
||||
registry-user: actions
|
||||
token: ${{ secrets.REGISTRY_PAT }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue