quickshare/.github/workflows/cd_docker.yml
Hexxa a9ccb4506c
Fix append (#43)
* fix(fs/local): remove O_APPEND for write_at

* fix(files): clean download api

* chore(workflows): add manual dispatch for docker

* test(files): close fd in the progress of uploading
2021-03-19 23:00:22 +08:00

27 lines
No EOL
791 B
YAML

name: cd-docker
on:
release:
types: [published]
workflow_dispatch: {}
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to Docker Hub with 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
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: hexxa/quickshare
tag_with_ref: false