Skip to content

Commit 02289ae

Browse files
maderwinclaude
andcommitted
fix(ci): use plain docker build/push instead of buildx
buildx pulls moby/buildkit from Docker Hub which hits rate limits. Plain docker build+push avoids this entirely since base images are already cached on the runner. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ec19de5 commit 02289ae

1 file changed

Lines changed: 8 additions & 16 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,13 @@ jobs:
4343
steps:
4444
- uses: actions/checkout@v4
4545

46-
- name: Set up Docker Buildx
47-
uses: docker/setup-buildx-action@v3
48-
4946
- name: Login to YC Container Registry
50-
uses: docker/login-action@v3
51-
with:
52-
registry: cr.yandex
53-
username: json_key
54-
password: ${{ secrets.YC_SA_KEY_JSON }}
47+
run: echo '${{ secrets.YC_SA_KEY_JSON }}' | docker login cr.yandex -u json_key --password-stdin
5548

56-
- name: Build and push
57-
uses: docker/build-push-action@v6
58-
with:
59-
context: .
60-
push: true
61-
tags: |
62-
cr.yandex/crpml6ifd12s8cbmbg3m/atlas:latest
63-
cr.yandex/crpml6ifd12s8cbmbg3m/atlas:${{ github.sha }}
49+
- name: Build
50+
run: docker build -t cr.yandex/crpml6ifd12s8cbmbg3m/atlas:latest -t cr.yandex/crpml6ifd12s8cbmbg3m/atlas:${{ github.sha }} .
51+
52+
- name: Push
53+
run: |
54+
docker push cr.yandex/crpml6ifd12s8cbmbg3m/atlas:latest
55+
docker push cr.yandex/crpml6ifd12s8cbmbg3m/atlas:${{ github.sha }}

0 commit comments

Comments
 (0)