Skip to content

Commit

Permalink
update cred
Browse files Browse the repository at this point in the history
  • Loading branch information
chanrithdeepsearch committed Aug 16, 2022
1 parent ecffb65 commit 4904b82
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 18 deletions.
33 changes: 30 additions & 3 deletions .github/workflows/TestReuseActions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,33 @@ jobs:
strategy:
fail-fast: false
matrix:
job: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]
job:
[
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
]

# Service containers to run with this job. Required for running tests
services:
Expand Down Expand Up @@ -935,8 +961,9 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
registry: ghcr.io
username: ${{ secrets.PACKAGES_WRITE_USERNAME }}
password: ${{ secrets.PACKAGES_WRITE_PASSWORD }}

# Build release Docker image and push to Docker Hub
# Commenting push
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-rts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ jobs:
if: success() && github.ref == 'refs/heads/release'
run: |
docker build -t ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${{steps.vars.outputs.tag}} .
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
echo ${{ secrets.PACKAGES_WRITE_PASSWORD }} | docker login -u ${{ secrets.PACKAGES_WRITE_USERNAME }} --password-stdin
docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${{steps.vars.outputs.tag}}
# Build release-frozen Docker image and push to Docker Hub
- name: Push release-frozen image to Docker Hub
if: success() && github.ref == 'refs/heads/release-frozen'
run: |
docker build -t ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${{steps.vars.outputs.tag}} .
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
echo ${{ secrets.PACKAGES_WRITE_PASSWORD }} | docker login -u ${{ secrets.PACKAGES_WRITE_USERNAME }} --password-stdin
docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${{steps.vars.outputs.tag}}
# Build master Docker image and push to Docker Hub
Expand All @@ -82,7 +82,7 @@ jobs:
run: |
docker build -t ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${GITHUB_SHA} .
docker build -t ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:nightly .
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
echo ${{ secrets.PACKAGES_WRITE_PASSWORD }} | docker login -u ${{ secrets.PACKAGES_WRITE_USERNAME }} --password-stdin
docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${GITHUB_SHA}
docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:nightly
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/client-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ defaults:

jobs:
build:
runs-on: buildjet-8vcpu-ubuntu-2004
runs-on: ubuntu-latest
# Only run for internal PRs or commits to release or master
if: |
github.event.pull_request.head.repo.full_name == github.repository ||
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
needs:
- prelude

runs-on: buildjet-8vcpu-ubuntu-2004
runs-on: ubuntu-latest

defaults:
run:
Expand Down
36 changes: 30 additions & 6 deletions .github/workflows/test-build-docker-image-fat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,33 @@ jobs:
strategy:
fail-fast: false
matrix:
job: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]
job:
[
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
]

# Service containers to run with this job. Required for running tests
services:
Expand Down Expand Up @@ -1257,8 +1283,9 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
registry: ghcr.io
username: ${{ secrets.PACKAGES_WRITE_USERNAME }}
password: ${{ secrets.PACKAGES_WRITE_PASSWORD }}

# Build release Docker image and push to Docker Hub
- name: Push client release image to Docker Hub
Expand All @@ -1267,7 +1294,6 @@ jobs:
run: |
docker build -t ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-editor:${{steps.vars.outputs.tag}} .
# docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-editor:${{steps.vars.outputs.tag}}

# Build master Docker image and push to Docker Hub
- name: Push client master image to Docker Hub with commit tag
if: success() && github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
Expand Down Expand Up @@ -1332,7 +1358,6 @@ jobs:
run: |
docker build --build-arg APPSMITH_SEGMENT_CE_KEY=${{ secrets.APPSMITH_SEGMENT_CE_KEY_RELEASE }} -t ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-server:${{steps.vars.outputs.tag}} .
# docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-server:${{steps.vars.outputs.tag}}

# Build master Docker image and push to Docker Hub
- name: Push server master image to Docker Hub with commit tag
if: success() && github.ref == 'refs/heads/master'
Expand All @@ -1350,7 +1375,6 @@ jobs:
run: |
docker build -t ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${{steps.vars.outputs.tag}} .
# docker push ${{ secrets.DOCKER_HUB_ORGANIZATION }}/appsmith-rts:${{steps.vars.outputs.tag}}

# Build master Docker image and push to Docker Hub
- name: Push RTS master image to Docker Hub with commit tag
if: success() && github.ref == 'refs/heads/master'
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test-build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
(github.event_name == 'pull_request_review' &&
github.event.review.state == 'approved' &&
github.event.pull_request.head.repo.full_name == github.repository)
runs-on: buildjet-8vcpu-ubuntu-2004
runs-on: ubuntu-latest
defaults:
run:
working-directory: app/client
Expand Down Expand Up @@ -423,7 +423,7 @@ jobs:
strategy:
fail-fast: false
matrix:
job: [0, 1,]
job: [0, 1]

# Service containers to run with this job. Required for running tests
services:
Expand Down Expand Up @@ -1309,8 +1309,9 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
registry: ghcr.io
username: ${{ secrets.PACKAGES_WRITE_USERNAME }}
password: ${{ secrets.PACKAGES_WRITE_PASSWORD }}

# Build release Docker image and push to Docker Hub
- name: Push client release image to Docker Hub
Expand Down

0 comments on commit 4904b82

Please sign in to comment.