Skip to content

Commit

Permalink
ci: experiment with publishing dev docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Feb 13, 2025
1 parent 2c610a3 commit 9bed944
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/publish-dev-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion pluginInterfaceSupported.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"_comment": "contains a list of plugin interfaces branch names that this core supports",
"versions": [
"6.3"
"feat/webauthn-1"
]
}

0 comments on commit 9bed944

Please sign in to comment.