updated workflow
This commit is contained in:
parent
1794bd5241
commit
c07e204b97
|
@ -67,13 +67,13 @@ jobs:
|
||||||
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
||||||
with:
|
with:
|
||||||
images: gtstef/filebrowser
|
images: gtstef/filebrowser
|
||||||
- name: Modify DOCKER_METADATA_OUTPUT_JSON
|
- name: Strip v from version number
|
||||||
id: modify-json
|
id: modify-json
|
||||||
run: |
|
run: |
|
||||||
JSON="${{ steps.meta.outputs.tags }}"
|
JSON="${{ steps.meta.outputs.tags }}"
|
||||||
# Use jq to remove 'v' from the version field
|
# Use jq to remove 'v' from the version field
|
||||||
JSON=$(echo "$JSON" | sed 's/filebrowser:v/filebrowser:/')
|
JSON=$(echo "$JSON" | sed 's/filebrowser:v/filebrowser:/')
|
||||||
echo "::set-output name=cleaned_tag::$JSON"
|
echo "cleaned_tag=$JSON" >> $GITHUB_OUTPUT
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue