fix(cd): latest image is not pushed
This commit is contained in:
parent
82a52b2312
commit
70dda37c54
2 changed files with 4 additions and 4 deletions
6
.github/workflows/cd_docker.yml
vendored
6
.github/workflows/cd_docker.yml
vendored
|
@ -12,17 +12,17 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Push to Docker Hub with tag
|
- name: Push to Docker Hub with version tag
|
||||||
uses: docker/build-push-action@v1
|
uses: docker/build-push-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
repository: hexxa/quickshare
|
repository: hexxa/quickshare
|
||||||
tag_with_ref: true
|
tag_with_ref: true
|
||||||
- name: Push to Docker Hub without tag
|
- name: Push to Docker Hub with latest tag
|
||||||
uses: docker/build-push-action@v1
|
uses: docker/build-push-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
repository: hexxa/quickshare
|
repository: hexxa/quickshare
|
||||||
tag_with_ref: false
|
tags: latest
|
||||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: quickshare-ci
|
name: ci-quickshare
|
||||||
|
|
||||||
# Controls when the action will run.
|
# Controls when the action will run.
|
||||||
on:
|
on:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue