File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,17 @@ jobs:
71
71
username : ${{ github.actor }}
72
72
password : ${{ secrets.GITHUB_TOKEN }}
73
73
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 }}
78
81
79
82
- name : Run tests with Docker Compose
80
83
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
82
85
env :
83
86
IMAGE_TAG : ${{ github.sha }}
84
87
REGISTRY : ${{ env.REGISTRY }}
87
90
- name : Clean up
88
91
if : always()
89
92
run : |
90
- docker-compose -f docker-compose.test.yml down
93
+ docker-compose -f docker-compose.yaml down
You can’t perform that action at this time.
0 commit comments