build with nightly on dockerhub, not ghcr
This commit is contained in:
@@ -41,34 +41,14 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
#- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
# uses: docker/login-action@v2
|
|
||||||
# with:
|
|
||||||
# username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
# password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
||||||
|
|
||||||
#- name: Dockerhub Build and push
|
|
||||||
# id: docker_build_dockerhub
|
|
||||||
# uses: docker/build-push-action@v2
|
|
||||||
# env:
|
|
||||||
# BUILDX_NO_DEFAULT_LOAD: true
|
|
||||||
# with:
|
|
||||||
# context: ${{ matrix.path }}/
|
|
||||||
# file: ${{ matrix.path }}/Dockerfile
|
|
||||||
# platforms: linux/amd64,linux/arm64
|
|
||||||
# #,linux/386 - no node image I guess?
|
|
||||||
# push: true
|
|
||||||
# tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.app }}:${{ matrix.version }}
|
|
||||||
|
|
||||||
- name: Login to Ghcr
|
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
username: frikky
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
password: ${{ secrets.GHCR_PW }}
|
|
||||||
|
|
||||||
- name: Ghcr Build and push
|
- name: Dockerhub Build and push
|
||||||
id: docker_build
|
id: docker_build_dockerhub
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
env:
|
env:
|
||||||
BUILDX_NO_DEFAULT_LOAD: true
|
BUILDX_NO_DEFAULT_LOAD: true
|
||||||
@@ -76,8 +56,28 @@ jobs:
|
|||||||
context: ${{ matrix.path }}/
|
context: ${{ matrix.path }}/
|
||||||
file: ${{ matrix.path }}/Dockerfile
|
file: ${{ matrix.path }}/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
#,linux/386 - no node image I guess?
|
||||||
push: true
|
push: true
|
||||||
tags: frikky/shuffle-${{ matrix.app }}:nightly
|
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.app }}:nightly
|
||||||
|
|
||||||
|
#- name: Login to Ghcr
|
||||||
|
# uses: docker/login-action@v2
|
||||||
|
# with:
|
||||||
|
# registry: ghcr.io
|
||||||
|
# username: frikky
|
||||||
|
# password: ${{ secrets.GHCR_PW }}
|
||||||
|
|
||||||
|
#- name: Ghcr Build and push
|
||||||
|
# id: docker_build
|
||||||
|
# uses: docker/build-push-action@v2
|
||||||
|
# env:
|
||||||
|
# BUILDX_NO_DEFAULT_LOAD: true
|
||||||
|
# with:
|
||||||
|
# context: ${{ matrix.path }}/
|
||||||
|
# file: ${{ matrix.path }}/Dockerfile
|
||||||
|
# platforms: linux/amd64,linux/arm64
|
||||||
|
# push: true
|
||||||
|
# tags: frikky/shuffle-${{ matrix.app }}:nightly
|
||||||
|
|
||||||
- name: Image digest
|
- name: Image digest
|
||||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ const SearchField = props => {
|
|||||||
|
|
||||||
// <a rel="noopener noreferrer" href="https://www.algolia.com/" target="_blank" style={{textDecoration: "none", color: "white"}}>
|
// <a rel="noopener noreferrer" href="https://www.algolia.com/" target="_blank" style={{textDecoration: "none", color: "white"}}>
|
||||||
return (
|
return (
|
||||||
<Link key={hit.objectID} to={{ pathname: isCloud ? parsedUrl : `/workflows/${hit.objectID}` }} rel="noopener noreferrer" style={{textDecoration: "none", color: "white",}} onClick={(event) => {
|
<Link key={hit.objectID} to={{ pathname: parsedUrl }} rel="noopener noreferrer" style={{textDecoration: "none", color: "white",}} onClick={(event) => {
|
||||||
//console.log("CLICK")
|
//console.log("CLICK")
|
||||||
setSearchOpen(true)
|
setSearchOpen(true)
|
||||||
|
|
||||||
@@ -221,7 +221,7 @@ const SearchField = props => {
|
|||||||
aa('sendEvents', [
|
aa('sendEvents', [
|
||||||
{
|
{
|
||||||
eventType: 'click',
|
eventType: 'click',
|
||||||
eventName: 'Product Clicked',
|
eventName: 'Workflow Clicked',
|
||||||
index: 'workflows',
|
index: 'workflows',
|
||||||
objectIDs: [hit.objectID],
|
objectIDs: [hit.objectID],
|
||||||
timestamp: timestamp,
|
timestamp: timestamp,
|
||||||
@@ -400,7 +400,7 @@ const SearchField = props => {
|
|||||||
parsedUrl += `?queryID=${hit.__queryID}`
|
parsedUrl += `?queryID=${hit.__queryID}`
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link key={hit.objectID} to={{ pathname: isCloud ? parsedUrl : `/apps/${hit.objectID}` }} style={{textDecoration: "none", color: "white",}} onClick={(event) => {
|
<Link key={hit.objectID} to={{ pathname: parsedUrl }} style={{textDecoration: "none", color: "white",}} onClick={(event) => {
|
||||||
console.log("CLICK")
|
console.log("CLICK")
|
||||||
setSearchOpen(true)
|
setSearchOpen(true)
|
||||||
|
|
||||||
@@ -413,12 +413,13 @@ const SearchField = props => {
|
|||||||
aa('sendEvents', [
|
aa('sendEvents', [
|
||||||
{
|
{
|
||||||
eventType: 'click',
|
eventType: 'click',
|
||||||
eventName: 'Product Clicked',
|
eventName: 'App Clicked',
|
||||||
index: 'appsearch',
|
index: 'appsearch',
|
||||||
objectIDs: [hit.objectID],
|
objectIDs: [hit.objectID],
|
||||||
timestamp: timestamp,
|
timestamp: timestamp,
|
||||||
queryID: hit.__queryID,
|
queryID: hit.__queryID,
|
||||||
positions: [hit.__position],
|
positions: [hit.__position],
|
||||||
|
userToken: userdata === undefined || userdata === null || userdata.id === undefined ? "unauthenticated" : userdata.id,
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
|
||||||
@@ -563,12 +564,13 @@ const SearchField = props => {
|
|||||||
aa('sendEvents', [
|
aa('sendEvents', [
|
||||||
{
|
{
|
||||||
eventType: 'click',
|
eventType: 'click',
|
||||||
eventName: 'Product Clicked',
|
eventName: 'Document Clicked',
|
||||||
index: 'documentation',
|
index: 'documentation',
|
||||||
objectIDs: [hit.objectID],
|
objectIDs: [hit.objectID],
|
||||||
timestamp: timestamp,
|
timestamp: timestamp,
|
||||||
queryID: hit.__queryID,
|
queryID: hit.__queryID,
|
||||||
positions: [hit.__position],
|
positions: [hit.__position],
|
||||||
|
userToken: userdata === undefined || userdata === null || userdata.id === undefined ? "unauthenticated" : userdata.id,
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
@@ -598,11 +598,11 @@ const WelcomeForm = (props) => {
|
|||||||
<Button onClick={handleReset}>Reset</Button>
|
<Button onClick={handleReset}>Reset</Button>
|
||||||
<script>
|
<script>
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
navigate("/getting-started")
|
navigate("/workflows")
|
||||||
}, 5000);
|
}, 5000);
|
||||||
</script>
|
</script>
|
||||||
<Button>
|
<Button>
|
||||||
<Link style={{color: "#f86a3e", }} to="/getting-started" className="btn btn-primary">
|
<Link style={{color: "#f86a3e", }} to="/workflows" className="btn btn-primary">
|
||||||
Getting Started
|
Getting Started
|
||||||
</Link>
|
</Link>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user