Skip to content

Commit edf8190

Browse files
committed
more debugging
1 parent 827bed5 commit edf8190

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/build_test.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,17 @@ jobs:
7171
username: ${{ github.actor }}
7272
password: ${{ secrets.GITHUB_TOKEN }}
7373

74-
75-
# - name: Pull the latest image
76-
# run: |
77-
# docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
74+
- name: List available tags
75+
run: |
76+
curl -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
77+
https://api.github.com/orgs/allenai/packages/container/rslearn_projects/versions
78+
- name: Pull the latest image
79+
run: |
80+
docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
7881
7982
- name: Run tests with Docker Compose
8083
run: |
81-
pwd && ls -la && docker-compose -f docker-compose.yaml up --exit-code-from tests
84+
docker-compose -f docker-compose.yaml up --exit-code-from tests
8285
env:
8386
IMAGE_TAG: ${{ github.sha }}
8487
REGISTRY: ${{ env.REGISTRY }}
@@ -87,4 +90,4 @@ jobs:
8790
- name: Clean up
8891
if: always()
8992
run: |
90-
docker-compose -f docker-compose.test.yml down
93+
docker-compose -f docker-compose.yaml down

0 commit comments

Comments
 (0)