Commit 807f6aa8 authored by Barnabas Busa's avatar Barnabas Busa Committed by GitHub

feat: add docker authentication (#816)

Reverts ethpandaops/ethereum-package#701

Depends on https://github.com/kurtosis-tech/kurtosis/pull/2560
parent 07b86746
...@@ -24,6 +24,11 @@ jobs: ...@@ -24,6 +24,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
continue-on-error: true continue-on-error: true
steps: steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Kurtosis - name: Setup Kurtosis
...@@ -63,6 +68,11 @@ jobs: ...@@ -63,6 +68,11 @@ jobs:
assertoor-mix-assert: assertoor-mix-assert:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Kurtosis Assertoor GitHub Action - name: Kurtosis Assertoor GitHub Action
......
...@@ -11,6 +11,11 @@ jobs: ...@@ -11,6 +11,11 @@ jobs:
run_starlark: run_starlark:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Kurtosis - name: Setup Kurtosis
...@@ -22,6 +27,7 @@ jobs: ...@@ -22,6 +27,7 @@ jobs:
- name: Run Starlark - name: Run Starlark
run: | run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
kurtosis run ${{ github.workspace }} --args-file network_params.yaml kurtosis run ${{ github.workspace }} --args-file network_params.yaml
run_with_args: run_with_args:
...@@ -39,6 +45,11 @@ jobs: ...@@ -39,6 +45,11 @@ jobs:
] ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Kurtosis - name: Setup Kurtosis
...@@ -50,6 +61,7 @@ jobs: ...@@ -50,6 +61,7 @@ jobs:
- name: Run Starlark - name: Run Starlark
run: | run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
kurtosis run ${{ github.workspace }} --args-file ${{ matrix.file_name }} kurtosis run ${{ github.workspace }} --args-file ${{ matrix.file_name }}
lint: lint:
...@@ -71,6 +83,11 @@ jobs: ...@@ -71,6 +83,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 30
steps: steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Kurtosis Assertoor GitHub Action - name: Kurtosis Assertoor GitHub Action
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment