Skip to content

Commit

Permalink
Update GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
amancevice committed Jun 7, 2022
1 parent 2bca694 commit efcadb2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: edge
on:
push:
schedule:
- cron: '11 21 * * *'
- cron: "11 21 * * *"
jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -16,9 +16,13 @@ jobs:
needs: lint
steps:
- uses: actions/checkout@v2
- uses: docker/login-action@v1
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/setup-python@v3
with:
python-version: "3.8"
- run: pip install pipenv
- run: make edge
- run: docker push amancevice/superset:edge
- run: make push
6 changes: 5 additions & 1 deletion .github/workflows/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ jobs:
needs: lint
steps:
- uses: actions/checkout@v2
- run: make latest
- uses: actions/setup-python@v3
with:
python-version: "3.8"
- run: pip install pipenv
- run: make build
9 changes: 7 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ jobs:
needs: lint
steps:
- uses: actions/checkout@v2
- uses: docker/login-action@v1
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: make latest push
- uses: actions/setup-python@v3
with:
python-version: "3.8"
- run: pip install pipenv
- run: make build
- run: make push

0 comments on commit efcadb2

Please sign in to comment.