Skip to content

Commit e76e30a

Browse files
authored
github actions: publish (#79)
1 parent b9ea45f commit e76e30a

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.circleci/config.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,3 @@ workflows:
4646
main:
4747
jobs:
4848
- test
49-
- deploy:
50-
filters:
51-
branches:
52-
only: master

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish Docker image
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
push_to_registry:
7+
name: Push Docker image to Docker Hub
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out the repo
11+
uses: actions/checkout@v2
12+
- name: Push to Docker Hub
13+
uses: docker/build-push-action@v1
14+
with:
15+
username: ${{ secrets.DOCKER_USERNAME }}
16+
password: ${{ secrets.DOCKER_PASSWORD }}
17+
repository: reactnativecommunity/react-native-android
18+
tag_with_ref: true
19+
tags: latest

0 commit comments

Comments
 (0)