fix: options validation rpId doesn't have to be an url #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Dev Docker Image | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: set tag | |
id: set_tag | |
run: | | |
echo "TAG=${GITHUB_REF}" | sed 's/refs\/heads\///g' | sed 's/\//_/g' >> $GITHUB_OUTPUT | |
- | |
name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ vars.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- | |
name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
# - name: Build and export to Docker | |
# uses: docker/build-push-action@v6 | |
# with: | |
# load: true | |
# tags: ${{ env.TEST_TAG }} | |
# - name: Test | |
# run: | | |
# docker run --rm ${{ env.TEST_TAG }} | |
- name: Build and push | |
uses: docker/build-push-action@v6 | |
with: | |
push: true | |
tags: ${{ vars.DOCKERHUB_USERNAME }}/supertokens-core:dev-branch-${{ steps.set_tag.outputs.TAG }} | |
file: .github/helpers/Dockerfile |