18 lines
407 B
YAML
18 lines
407 B
YAML
name: Upload the container
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
|
|
jobs:
|
|
build-and-upload:
|
|
runs-on: docker
|
|
steps:
|
|
- name: Checkout code
|
|
uses: https://git.dzuchun.ing/actions/checkout@v1
|
|
|
|
- name: Build and push the image
|
|
uses: https://git.dzuchun.ing/actions/container-upload@v0.4.2
|
|
with:
|
|
registry-user: actions
|
|
token: ${{ secrets.REGISTRY_PAT }}
|