diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 5f9b600ad..2634976e2 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -24,6 +24,11 @@ jobs: runs-on: ubuntu-latest continue-on-error: true steps: + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} - name: Checkout Repository uses: actions/checkout@v4 - name: Setup Kurtosis @@ -63,6 +68,11 @@ jobs: assertoor-mix-assert: runs-on: ubuntu-latest steps: + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} - name: Checkout Repository uses: actions/checkout@v4 - name: Kurtosis Assertoor GitHub Action diff --git a/.github/workflows/per-pr.yml b/.github/workflows/per-pr.yml index 27a883298..0c66f5d34 100644 --- a/.github/workflows/per-pr.yml +++ b/.github/workflows/per-pr.yml @@ -11,6 +11,11 @@ jobs: run_starlark: runs-on: ubuntu-latest steps: + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} - name: Checkout Repository uses: actions/checkout@v4 - name: Setup Kurtosis @@ -22,6 +27,7 @@ jobs: - name: Run Starlark run: | + docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} kurtosis run ${{ github.workspace }} --args-file network_params.yaml run_with_args: @@ -39,6 +45,11 @@ jobs: ] runs-on: ubuntu-latest steps: + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} - name: Checkout Repository uses: actions/checkout@v4 - name: Setup Kurtosis @@ -50,6 +61,7 @@ jobs: - name: Run Starlark run: | + docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} kurtosis run ${{ github.workspace }} --args-file ${{ matrix.file_name }} lint: @@ -71,6 +83,11 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} - name: Checkout Repository uses: actions/checkout@v4 - name: Kurtosis Assertoor GitHub Action