forked from parse-community/parse-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* parse: (25 commits) build: release 3.0.0 (parse-community#1806) fix: upgrade react-router-dom from 5.1.2 to 5.2.1 (parse-community#1804) fix: security upgrade prismjs from 1.24.1 to 1.25.0 (parse-community#1803) fix: upgrade react-router from 5.1.2 to 5.2.1 (parse-community#1805) perf: asynchronously fetch classes counts in sidebar to not block dashboard (parse-community#1802) fix: revert parse-community#1706 which introduced new database index requirements for pagination (parse-community#1800) docs: Update node in README Update sass and docker (parse-community#1792) ci: Remove parse server dev dependency (parse-community#1796) ci: modernize steps (parse-community#1789) fix(docker): increase node version in docker to 12 (parse-community#1788) Fix: Update CLP for new class (parse-community#1785) feat: Add MFA to Dashboard (parse-community#1624) ci: refactor docker ci (parse-community#1786) ci: Fix docker image pushing to Docker Hub (parse-community#1781) refactor: remove parse issue bot (parse-community#1780) Fix: Modal Z-index (parse-community#1778) Improve ui for array of pointer field (parse-community#1776) Edit Array of pointers (parse-community#1771) chore(deps): bump object-path from 0.11.5 to 0.11.7 (parse-community#1774) ... # Conflicts: # package-lock.json # package.json
- Loading branch information
Showing
27 changed files
with
13,751 additions
and
16,576 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: docker | ||
|
||
on: | ||
# Disabled as we move to new branch model and plan to change the `latest` tag to mean "latest stable" instead of as currently "latest unstable" | ||
# schedule: | ||
# # Nightly builds capture upstream updates to dependency images such as node. | ||
# - cron: '19 17 * * *' | ||
push: | ||
# Disabled as we move to new branch model and plan to change the `latest` tag to mean "latest stable" instead of as currently "latest unstable" | ||
# branches: [ master ] | ||
tags: [ '*.*.*' ] | ||
|
||
env: | ||
REGISTRY: docker.io | ||
IMAGE_NAME: parseplatform/parse-dashboard | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-18.04 | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: Determine branch name | ||
id: branch | ||
run: echo "::set-output name=branch_name::${GITHUB_REF#refs/*/}" | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up QEMU | ||
id: qemu | ||
uses: docker/setup-qemu-action@v1 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Log into Docker Hub | ||
if: github.event_name != 'pull_request' | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Extract Docker metadata | ||
id: meta | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | ||
flavor: | | ||
latest=${{ steps.branch.outputs.branch_name == 'master' }} | ||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
platforms: linux/amd64 | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.