File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 44 types : [published]
55
66jobs :
7- push_to_registry :
8- name : Push Docker image to Docker Hub
7+ publish_to_dockerhub :
8+ name : Publish to Docker Hub
99 runs-on : ubuntu-20.04
10- env :
11- DOCKER_IMAGE : reactnativecommunity/react-native-android
12- if : ${{ startsWith(github.ref, 'refs/tags/v*') }}
10+ if : ${{ startsWith(github.ref, 'refs/tags/v') }}
1311 steps :
1412 - name : Check out the repo
1513 uses : actions/checkout@v2
@@ -24,12 +22,14 @@ jobs:
2422 password : ${{ secrets.DOCKER_PASSWORD }}
2523
2624 - name : Prepare tags
25+ env :
26+ DOCKER_IMAGE : reactnativecommunity/react-native-android
2727 id : tags
2828 run : |
2929 VERSION=${GITHUB_REF#refs/tags/v}
3030 echo ::set-output name=tags::"${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:latest"
3131
32- - name : Push to Docker Hub
32+ - name : Build & publish to Docker Hub
3333 uses : docker/build-push-action@v2
3434 with :
3535 push : true
You can’t perform that action at this time.
0 commit comments