dpaste/.github/workflows/dockerimage.yml
Darren 90cf2d9585
Set tags to latest
to avoid confusion, the v1 is replaced by latest.
2022-01-20 10:47:21 -05:00

26 lines
527 B
YAML

name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}