Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanodallapalma authored Nov 11, 2020
1 parent a69ccf3 commit 02c3aab
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: Build and push image to Dockerhub

on:
release:
types: [published]
repository_dispatch:
types: [trigger-workflow-docker]

jobs:
main:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v2
with:
ref: ${{ github.event.client_payload.sha }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand All @@ -29,4 +33,4 @@ jobs:
tags: radonconsortium/repo-miner:latest
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit 02c3aab

Please sign in to comment.