dpaste/.github/workflows/docker.yml
renovate[bot] ef278fa1d8
chore(deps): update actions/checkout action to v3 (#188)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 16:10:25 -04:00

27 lines
556 B
YAML

name: Docker Image CI
# Only run after test passes
on:
workflow_run:
workflows: ["Python CI"]
types:
- completed
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
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 }}