fix: Invalid context source: upstream
Some checks failed
Build / build (push) Failing after 44s

This commit is contained in:
Jiří Štefka 2024-01-27 02:55:35 +01:00
parent a61e416bb5
commit 19d79af2db
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE

@ -12,6 +12,8 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
# with:
# path: my-repo
# - name: Check is image already exists # - name: Check is image already exists
# id: extract-version # id: extract-version
@ -25,6 +27,7 @@ jobs:
# echo "docker_tag=${docker_tag}" # echo "docker_tag=${docker_tag}"
# 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 # 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 # shell: bash
- name: Install Docker - name: Install Docker
run: | run: |
apt-get update apt-get update
@ -40,14 +43,15 @@ jobs:
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
- name: Get upstream repository - name: Get upstream repository
run: git clone https://github.com/ONLYOFFICE/DocumentServer upstream run: git clone https://github.com/ONLYOFFICE/DocumentServer upstream && ls -la
- name: Extract tags and labels for Docker - name: Extract tags and labels for Docker
id: meta id: meta
uses: docker/metadata-action@v5.5.0 uses: docker/metadata-action@v5.5.0
working-directory: upstream
with: with:
images: jiriks74/onlyoffice-documentserver images: jiriks74/onlyoffice-documentserver
context: upstream context: git
- name: Check if the image was already built - name: Check if the image was already built
id: check-build-status id: check-build-status