From 4d550d9511f6cd6cc1f15d2ddb9d95a749a1a709 Mon Sep 17 00:00:00 2001 From: Radostina Lyubomirova Date: Tue, 3 Jun 2025 17:17:03 +0300 Subject: [PATCH] test --- .github/workflows/build-on-label.yml | 9 +++--- .github/workflows/go.yml | 48 ---------------------------- 2 files changed, 5 insertions(+), 52 deletions(-) delete mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/build-on-label.yml b/.github/workflows/build-on-label.yml index c6ac5211ee..3ad5bc3b4e 100644 --- a/.github/workflows/build-on-label.yml +++ b/.github/workflows/build-on-label.yml @@ -16,11 +16,12 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Log in to DockerHub + - name: Log in to GitHub Container Registry uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and Push Docker Image uses: docker/build-push-action@v5 @@ -28,4 +29,4 @@ jobs: context: . file: ./Dockerfile push: true - tags: yourdockeruser/go-ethereum:dev-latest + tags: ghcr.io/${{ github.repository_owner }}/go-ethereum:dev-latest diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml deleted file mode 100644 index 112138c116..0000000000 --- a/.github/workflows/go.yml +++ /dev/null @@ -1,48 +0,0 @@ -# name: i386 linux tests - -# on: -# push: -# branches: [ master ] -# pull_request: -# branches: [ master ] -# workflow_dispatch: - -# jobs: -# lint: -# name: Lint -# runs-on: self-hosted -# steps: -# - uses: actions/checkout@v4 - -# # Cache build tools to avoid downloading them each time -# - uses: actions/cache@v4 -# with: -# path: build/cache -# key: ${{ runner.os }}-build-tools-cache-${{ hashFiles('build/checksums.txt') }} - -# - name: Set up Go -# uses: actions/setup-go@v5 -# with: -# go-version: 1.23.0 -# cache: false - -# - name: Run linters -# run: | -# go run build/ci.go lint -# go run build/ci.go check_generate -# go run build/ci.go check_baddeps - -# build: -# runs-on: self-hosted -# steps: -# - uses: actions/checkout@v4 -# - name: Set up Go -# uses: actions/setup-go@v5 -# with: -# go-version: 1.24.0 -# cache: false -# - name: Run tests -# run: go test -short ./... -# env: -# GOOS: linux -# GOARCH: 386