fix main workflow
This commit is contained in:
parent
9e9109984d
commit
5f185597c9
|
@ -26,13 +26,6 @@ jobs:
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: gtstef/filebrowser
|
images: gtstef/filebrowser
|
||||||
- name: Get latest release tag and commit SHA
|
|
||||||
id: get_tag_and_sha
|
|
||||||
run: |
|
|
||||||
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
|
|
||||||
latest_commit=$(git rev-list -n 1 $latest_tag)
|
|
||||||
echo "latest_tag=${latest_tag}" >> $GITHUB_ENV
|
|
||||||
echo "latest_commit=${latest_commit}" >> $GITHUB_ENV
|
|
||||||
- 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