diff --git a/.github/workflows/publish-dev-docker.yml b/.github/workflows/publish-dev-docker.yml index 5c50a5508..aebeac882 100644 --- a/.github/workflows/publish-dev-docker.yml +++ b/.github/workflows/publish-dev-docker.yml @@ -4,9 +4,29 @@ on: branches: - "**" jobs: + set-tag: + runs-on: ubuntu-latest + outputs: + version: ${{ steps.gen_version.outputs.VERSION }} + steps: + - name: set values + id: gen_version + run: | + echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT + - name: Use the value + # this sets environment variables for this step + env: + VERSION: + run: | + echo "${VERSION}" + docker: runs-on: ubuntu-latest steps: + - name: set tag + id: set_tag + run: | + echo "TAG=${GITHUB_REF}" | sed 's/\//_/g' >> $GITHUB_OUTPUT - name: Login to Docker Hub uses: docker/login-action@v3 @@ -34,5 +54,5 @@ jobs: uses: docker/build-push-action@v6 with: push: true - tags: ${{ vars.DOCKERHUB_USERNAME }}/supertokens-core:dev-branch-${{ github.sha }} + tags: ${{ vars.DOCKERHUB_USERNAME }}/supertokens-core:dev-branch-${{ steps.set_tag.outputs.TAG }} file: .github/helpers/Dockerfile diff --git a/pluginInterfaceSupported.json b/pluginInterfaceSupported.json index 25f823814..06b0bdfea 100644 --- a/pluginInterfaceSupported.json +++ b/pluginInterfaceSupported.json @@ -1,6 +1,6 @@ { "_comment": "contains a list of plugin interfaces branch names that this core supports", "versions": [ - "6.3" + "feat/webauthn-1" ] } \ No newline at end of file