2020-04-03 22:35:08 -05:00
|
|
|
on:
|
|
|
|
push:
|
2021-10-12 22:48:18 -05:00
|
|
|
branches:
|
|
|
|
- 'main'
|
2020-04-03 22:35:08 -05:00
|
|
|
tags:
|
|
|
|
- '*'
|
2020-06-21 12:50:32 -05:00
|
|
|
name: docker-publish-tags
|
2020-04-03 22:35:08 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
docker:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-10-12 22:39:23 -05:00
|
|
|
|
|
|
|
- uses: docker/login-action@v1
|
2020-04-03 22:35:08 -05:00
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
2021-10-12 22:39:23 -05:00
|
|
|
|
|
|
|
- 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 }}
|