0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2025-01-20 22:53:00 -05:00
imageproxy/.github/workflows/docker.yml
2021-10-12 20:48:18 -07:00

31 lines
606 B
YAML

on:
push:
branches:
- 'main'
tags:
- '*'
name: docker-publish-tags
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/metadata-action@v3
id: meta
with:
images: willnorris/imageproxy
- uses: docker/build-push-action@v1
with:
context: .
push: true
tags: ${{ steps.meta.output.tags }}
labels: ${{ steps.meta.output.labels }}