Skip to content

Commit

Permalink
Push image on pr temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
sergerad committed Jan 6, 2025
1 parent 1656b00 commit 386b2a4
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@ concurrency:
cancel-in-progress: true

jobs:
dev_docker_build_push:
if: ${{ github.ref == 'refs/heads/main' }}
uses: ./.github/actions/push
with:
environment: dev
dockerfile: "Dockerfile"
role-to-assume: "arn:aws:iam::783421985614:role/immutable-nonprod-docker-image-push"
role-session-name: "go-ethereum-immutable-nonprod-docker-image-push"
aws-region: "us-east-2"
go-mod-cache-path: "~/go/pkg/mod"
go-build-cache-path: "~/.cache/go-build"
secrets:
github-token: ${{ secrets.PLATFORM_SA_GITHUB_TOKEN }}

bootstrap:
name: Local E2E Tests
runs-on: ubuntu-20-04-4-cores
Expand Down Expand Up @@ -73,4 +87,5 @@ jobs:
shell: bash
run: |
go run build/ci.go install
go test $(go list ./... | grep -v 'go-ethereum/tests/immutable') -p 1 --parallel 4 -timeout=30m
go test $(go list ./... | grep -v 'go-ethereum/tests/immutable') -p 1 --parallel 4 -timeout=30m

0 comments on commit 386b2a4

Please sign in to comment.