From 19d79af2dbc31589706090fbed60b626150182c5 Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Sat, 27 Jan 2024 02:55:35 +0100 Subject: [PATCH] fix: Invalid context source: upstream --- .gitea/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 9c254f8..55b25b4 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -12,6 +12,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + # with: + # path: my-repo # - name: Check is image already exists # id: extract-version @@ -25,6 +27,7 @@ jobs: # 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 # shell: bash + - name: Install Docker run: | apt-get update @@ -40,14 +43,15 @@ jobs: platforms: linux/amd64,linux/arm64 - 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 id: meta uses: docker/metadata-action@v5.5.0 + working-directory: upstream with: images: jiriks74/onlyoffice-documentserver - context: upstream + context: git - name: Check if the image was already built id: check-build-status