mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 22:39:33 +09:00
Format image tags :thinking_face:
This commit is contained in:
parent
b6af3ab891
commit
eb71aa8f8c
5
.github/workflows/build.yaml
vendored
5
.github/workflows/build.yaml
vendored
@ -23,6 +23,9 @@ jobs:
|
|||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Prepare image tags
|
||||||
|
run: |
|
||||||
|
echo "FORMATTED_BRANCH_NAME=$(echo ${{ github.ref_name }} | sed -e 's/\//-/g' )" >> $GITHUB_ENV
|
||||||
- name: "Build and Push"
|
- name: "Build and Push"
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
@ -30,4 +33,4 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/misskeyio/misskey:latest
|
ghcr.io/misskeyio/misskey:latest
|
||||||
ghcr.io/misskeyio/misskey:${{ github.ref_name }}
|
ghcr.io/misskeyio/misskey:${FORMATTED_BRANCH_NAME}
|
||||||
|
Loading…
Reference in New Issue
Block a user