2022-03-03 19:27:35 +11:00
|
|
|
name: Docker Image CI
|
|
|
|
|
2022-03-03 19:41:34 +11:00
|
|
|
# Only run after test passes
|
2022-03-03 19:27:35 +11:00
|
|
|
on:
|
2022-03-03 19:41:34 +11:00
|
|
|
workflow_run:
|
|
|
|
workflows: ["Python CI"]
|
|
|
|
types:
|
|
|
|
- completed
|
2022-03-03 19:27:35 +11:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-03-16 07:10:25 +11:00
|
|
|
- uses: actions/checkout@v3
|
2022-03-03 19:27:35 +11:00
|
|
|
name: Check out code
|
|
|
|
|
|
|
|
- uses: mr-smithers-excellent/docker-build-push@v5
|
|
|
|
name: Build & push Docker image
|
|
|
|
with:
|
|
|
|
image: darrenofficial/dpaste
|
|
|
|
registry: docker.io
|
|
|
|
tags: latest
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|