Compare commits

..

No commits in common. "c2e4633b6c25a83af11c3a8f3e4589acd4227b52" and "9a134fc2ba7e86f62e8d0f9e23386ceb6ee05feb" have entirely different histories.

View file

@ -13,22 +13,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Check is image already exists
- name: Extract Version Tag
id: extract-version
run: |
git clone https://github.com/ONLYOFFICE/DocumentServer
cd DocumentServer
docker_tag=$(git describe --tags --abbrev=0 | cut -d 'v' -f2-)
export docker_tag=$(git describe --tags --abbrev=0 | cut -d 'v' -f2-)
echo $docker_tag
echo "docker_tag=${docker_tag}" >> GITHUB_OUTPUT
if curl --silent -f -lSL "https://hub.docker.com/v2/repositories/jiriks74/onlyoffice-documentserver/tags/${docker_tag}" > /dev/null; then exit 1; else exit 0; fi shell: bash
- name: Remove temporary files
if: steps.check-existing.conclusion == 'success'
id: remove-temp
run: |
echo ${{ steps.extract-version.outputs.docker_tag }}
if curl --silent -f -lSL "https://hub.docker.com/v2/repositories/jiriks74/onlyoffice-documentserver/tags/${docker_tag}" > /dev/null; then exit 1; fi
rm -rf DocumentServer
echo "docker_tag=${docker_tag}" >> GITHUB_OUTPUT
shell: bash
- name: test
if: steps.check-existing.conclusion == 'success'
id: test
run: echo ${{ steps.extract-version.outputs.docker_tag }}
shell: bash
- name: Install Docker