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:
|
||||
- name: Check out the repo
|
||||
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
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
repository: hexxa/quickshare
|
||||
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
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
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.
|
||||
on:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue