Update docker-image.yml
This commit is contained in:
parent
3e9a16ff18
commit
2c9b50c16b
1 changed files with 2 additions and 9 deletions
11
.github/workflows/docker-image.yml
vendored
11
.github/workflows/docker-image.yml
vendored
|
@ -18,17 +18,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
|
||||||
id: meta
|
|
||||||
uses: docker/metadata-action@v3.6.2
|
|
||||||
with:
|
|
||||||
images: mohamnag/nginx-file-browser
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v2.9.0
|
uses: docker/build-push-action@v2.9.0
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: mohamnag/nginx-file-browser:latest
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
|
||||||
|
|
Loading…
Reference in a new issue