File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,22 @@ jobs:
2424 - name : Set up Docker Buildx
2525 uses : docker/setup-buildx-action@v2
2626
27+ - name : Set Lowercase Repository Info
28+ id : repo_info
29+ run : |
30+ echo "REPO_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
31+ echo "REPO_NAME=$(echo ${{ github.event.repository.name }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
32+
2733 - name : Build and Push Docker Image
2834 uses : docker/build-push-action@v5
2935 with :
3036 context : .
3137 push : true
3238 tags : |
33- ghcr.io/${{ github.repository }}/fortsphere :latest
34- ghcr.io/${{ github.repository }}/fortsphere :${{ github.event.release.tag_name }}
39+ ghcr.io/${{ env.REPO_OWNER }}/${{ env.REPO_NAME }} :latest
40+ ghcr.io/${{ env.REPO_OWNER }}/${{ env.REPO_NAME }} :${{ github.event.release.tag_name }}
3541 labels : |
36- org.opencontainers.image.title=Fortsphere
42+ org.opencontainers.image.title=fortsphere
3743 org.opencontainers.image.description="Fortify your digital sphere, one command at a time."
3844 org.opencontainers.image.url=https://github.com/OpenPathfinder/fortSphere
3945 org.opencontainers.image.source=https://github.com/OpenPathfinder/fortSphere.git
You can’t perform that action at this time.
0 commit comments