Skip to content

Commit f510619

Browse files
committed
fix: ci tests
1 parent 29a39b2 commit f510619

File tree

1 file changed

+14
-19
lines changed

1 file changed

+14
-19
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
build-linux:
6666
needs: test
6767
runs-on: ubuntu-latest
68+
6869
permissions:
6970
contents: 'read'
7071
id-token: 'write'
@@ -78,27 +79,21 @@ jobs:
7879
project_id: ${{ secrets.GOOGLE_PROJECT_ID }}
7980
workload_identity_provider: ${{ secrets.GOOGLE_WORKLOAD_IDENTITY_PROVIDER }}
8081

81-
- name: Show complete auth info
82-
run: |
83-
echo "=== Authentication Status ==="
84-
gcloud auth list
85-
echo ""
86-
echo "=== Current Configuration ==="
87-
gcloud config list
88-
echo ""
89-
echo "=== Active Account ==="
90-
gcloud auth list --filter=status:ACTIVE --format="value(account)"
91-
9282
- name: Set up Docker to use gcloud as a credential helper
9383
run: |
94-
gcloud auth configure-docker us-east1-docker.pkg.dev
84+
gcloud auth configure-docker us-central1-docker.pkg.dev
9585
96-
- uses: RafikFarhad/push-to-gcr-github-action@v5-rc1
97-
with:
98-
registry: gcr.io
99-
project_id: airport-ci-service
100-
image_name: backend
101-
image_tag: latest,v1
102-
dockerfile: ./Dockerfile
86+
# - name: Set up QEMU
87+
# uses: docker/setup-qemu-action@v2
88+
89+
- name: Set up Docker Buildx
90+
uses: docker/setup-buildx-action@v2
10391

92+
- name: Build and push Linux images (amd64 + arm64)
93+
uses: docker/build-push-action@v4
94+
with:
95+
context: .
96+
push: true
97+
tags: us-east1-docker.pkg.dev/airport-ci-service/airport-ci-service/python-airport-test-server:latest
98+
platforms: linux/amd64
10499

0 commit comments

Comments
 (0)