File tree Expand file tree Collapse file tree 1 file changed +3
-34
lines changed
Expand file tree Collapse file tree 1 file changed +3
-34
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ permissions:
1212
1313jobs :
1414 test :
15+ permissions :
16+ contents : ' read'
17+ id-token : ' write'
1518 runs-on : ubuntu-latest
1619 steps :
1720 - name : Checkout code
3942 - name : Lint & Format (Ruff)
4043 run : rye run ruff check .
4144
42- # - name: Log in to GHCR
43- # run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
44-
45- # - name: Build container
46- # run: |
47- # IMAGE_NAME=ghcr.io/query-farm/python-airport-test-server
48- # docker build -t $IMAGE_NAME:latest .
49-
50- # - name: Start server container
51- # run: |
52- # IMAGE_NAME=ghcr.io/query-farm/python-airport-test-server
53- # docker run -d --name airport_test_server -p 50003:50003 $IMAGE_NAME:latest
54-
55- # - name: Stop server
56- # run: |
57- # docker stop airport_test_server
58-
59- # - name: Push Docker image to GHCR
60- # run: |
61- # IMAGE_NAME=ghcr.io/query-farm/python-airport-test-server
62- # docker push $IMAGE_NAME:latest
63-
64- # Build Linux images on ubuntu runner
65- build-linux :
66- needs : test
67- runs-on : ubuntu-latest
68-
69- permissions :
70- contents : ' read'
71- id-token : ' write'
72- steps :
73- - name : Checkout code
74- uses : actions/checkout@v4
75-
7645 - name : Authenticate to Google Cloud
7746 uses : google-github-actions/auth@v2
7847 with :
You can’t perform that action at this time.
0 commit comments