ci(docker): fix release published event checkout tag-sha (#12096)

* release: push 0.38.0 image and fix

* fix

* remove manual action
This commit is contained in:
Daniel Vaz Gaspar 2021-01-08 22:59:59 +00:00 committed by GitHub
parent 2210015aab
commit f642aea683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 2 deletions

20
.github/workflows/docker-release.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Docker
on:
release:
types: [published]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- shell: bash
env:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
.github/workflows/docker_build_push.sh

View File

@ -6,8 +6,6 @@ on:
- 'master'
pull_request:
types: [opened, synchronize, reopened]
release:
types: [published]
jobs:
build: