dpaste/.github/workflows/dockerimage.yml

27 lines
527 B
YAML
Raw Normal View History

2022-01-11 04:36:56 +11:00
name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
2022-01-11 04:41:19 +11:00
- uses: actions/checkout@v2
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
2022-01-11 04:41:19 +11:00
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}