mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-07-07 04:12:18 +02:00
actions: update docker workflow
This commit is contained in:
parent
e5da3b920b
commit
7aacb8b520
1 changed files with 14 additions and 3 deletions
17
.github/workflows/docker-tags.yml
vendored
17
.github/workflows/docker-tags.yml
vendored
|
|
@ -10,9 +10,20 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: docker/build-push-action@v1
|
|
||||||
|
- uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
repository: willnorris/imageproxy
|
|
||||||
tag_with_ref: true
|
- 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 }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue