This commit is contained in:
parent
a61e416bb5
commit
19d79af2db
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue