We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b84c9d7 commit b7ca2a8Copy full SHA for b7ca2a8
.github/workflows/release.yml
@@ -131,3 +131,15 @@ jobs:
131
asset_path: ./pg-api-windows.tar.gz
132
asset_name: pg-api-windows.tar.gz
133
asset_content_type: application/gzip
134
+
135
+ - name: Get version
136
+ run: echo ::set-env name=VERSION::$(curl -s https://api.github.com/repos/supabase/pg-api/releases/latest | jq .name -r)
137
138
+ - name: Upload image to Docker Hub
139
+ if: env.HAS_NEW_RELEASE == 1
140
+ uses: docker/build-push-action@v1
141
+ with:
142
+ username: ${{ secrets.DOCKER_USERNAME }}
143
+ password: ${{ secrets.DOCKER_PASSWORD }}
144
+ repository: supabase/pg-api
145
+ tags: latest,${{ env.VERSION }}
0 commit comments