Skip to content

Commit

Permalink
fix: all the repos are public now - no need for access token
Browse files Browse the repository at this point in the history
  • Loading branch information
dndll committed Nov 13, 2023
1 parent d06a60d commit 1ec7c91
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 23 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/on_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
uses: actions/checkout@v3
with:
submodules: "recursive"
token: ${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}

- name: Login to Artifact Registry
uses: docker/login-action@v2
Expand All @@ -34,8 +33,8 @@ jobs:
push: true
file: ./crates/da-rpc-sys/Dockerfile
tags: "${{ env.REPOSITORY }}/da-rpc:${{ github.sha }},${{ env.REPOSITORY }}/da-rpc:latest"
secrets: |
GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}
# secrets: |
# GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}

- name: Build "l1" Docker image and push
uses: docker/build-push-action@v5
Expand All @@ -44,8 +43,8 @@ jobs:
push: true
file: ./op-stack/optimism/ops-bedrock/Dockerfile.l1
tags: "${{ env.REPOSITORY }}/op-l1:${{ github.sha }},${{ env.REPOSITORY }}/op-l1:latest"
secrets: |
GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}
# secrets: |
# GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}

- name: Build "l2" Docker image and push
uses: docker/build-push-action@v5
Expand All @@ -54,8 +53,8 @@ jobs:
push: true
file: ./op-stack/optimism/ops-bedrock/Dockerfile.l2
tags: "${{ env.REPOSITORY }}/op-l2:${{ github.sha }},${{ env.REPOSITORY }}/op-l2:latest"
secrets: |
GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}
# secrets: |
# GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}

- name: Build "op-node" Docker image and push
uses: docker/build-push-action@v5
Expand All @@ -64,8 +63,8 @@ jobs:
push: true
file: ./op-stack/optimism/op-node/Dockerfile
tags: "${{ env.REPOSITORY }}/op-node:${{ github.sha }},${{ env.REPOSITORY }}/op-node:latest"
secrets: |
GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}
# secrets: |
# GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}

- name: Build "op-proposer" Docker image and push
uses: docker/build-push-action@v5
Expand All @@ -74,8 +73,8 @@ jobs:
push: true
file: ./op-stack/optimism/op-proposer/Dockerfile
tags: "${{ env.REPOSITORY }}/op-proposer:${{ github.sha }},${{ env.REPOSITORY }}/op-proposer:latest"
secrets: |
GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}
# secrets: |
# GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}

- name: Build "op-batcher" Docker image and push
uses: docker/build-push-action@v5
Expand All @@ -84,8 +83,8 @@ jobs:
push: true
file: ./op-stack/optimism/op-batcher/Dockerfile
tags: "${{ env.REPOSITORY }}/op-batcher:${{ github.sha }},${{ env.REPOSITORY }}/op-batcher:latest"
secrets: |
GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}
# secrets: |
# GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}

- name: Build "stateviz" Docker image and push
uses: docker/build-push-action@v5
Expand All @@ -94,8 +93,8 @@ jobs:
push: true
file: ./op-stack/optimism/ops-bedrock/Dockerfile.stateviz
tags: "${{ env.REPOSITORY }}/stateviz:${{ github.sha }},${{ env.REPOSITORY }}/stateviz:latest"
secrets: |
GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}
# secrets: |
# GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}

- name: Build "light-client" Docker image and push
uses: docker/build-push-action@v5
Expand All @@ -104,8 +103,8 @@ jobs:
push: true
file: ./bin/light-client/Dockerfile
tags: "${{ env.REPOSITORY }}/light-client:${{ github.sha }},${{ env.REPOSITORY }}/light-client:latest"
secrets: |
GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}
# secrets: |
# GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}

- name: Build "cdk-validium-node" Docker image and push
uses: docker/build-push-action@v5
Expand All @@ -114,7 +113,7 @@ jobs:
push: true
file: ./cdk-stack/cdk-validium-node/Dockerfile
tags: "${{ env.REPOSITORY }}/cdk-validium-node:${{ github.sha }},${{ env.REPOSITORY }}/cdk-validium-node:latest"
secrets: |
GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}
# secrets: |
# GIT_AUTH_TOKEN=${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}


5 changes: 1 addition & 4 deletions .github/workflows/on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ jobs:
lint:
name: "Lint"
runs-on:
group: ubuntu-4cpu-16gb
group: ubuntu-22.04-16core
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: "recursive"
token: ${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: Swatinem/rust-cache@v2
- name: 📜 Lint code format
Expand All @@ -32,7 +31,6 @@ jobs:
uses: actions/checkout@v3
with:
submodules: "recursive"
token: ${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: Swatinem/rust-cache@v2
- name: "Install cargo-nextest"
Expand All @@ -55,7 +53,6 @@ jobs:
uses: actions/checkout@v3
with:
submodules: "recursive"
token: ${{ secrets.CEJAS_PERSONAL_ACCESS_TOKEN }}
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: "Ubuntu is missing libm :<"
run: sudo apt-get update && sudo apt-get install -y build-essential
Expand Down

0 comments on commit 1ec7c91

Please sign in to comment.