2 Commits

3 changed files with 3 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ jobs:
shell: sh shell: sh
run: | run: |
set -euo pipefail set -euo pipefail
git clone --depth 1 https://${{ secrets.REPOSITORY_USER }}:${{ secrets.REPOSITORY_TOKEN }}@git.nas-technologies.com/lbatuska/drogon_docker.git git clone -b ${{ gitea.ref_name }} --depth 1 https://${{ secrets.REPOSITORY_USER }}:${{ secrets.REPOSITORY_TOKEN }}@git.nas-technologies.com/lbatuska/drogon_docker.git
- name: Login to registry - name: Login to registry
shell: sh shell: sh
run: | run: |

View File

@@ -10,7 +10,7 @@ jobs:
shell: sh shell: sh
run: | run: |
set -euo pipefail set -euo pipefail
git clone --depth 1 https://${{ secrets.REPOSITORY_USER }}:${{ secrets.REPOSITORY_TOKEN }}@git.nas-technologies.com/lbatuska/drogon_docker.git git clone -b ${{ gitea.ref_name }} --depth 1 https://${{ secrets.REPOSITORY_USER }}:${{ secrets.REPOSITORY_TOKEN }}@git.nas-technologies.com/lbatuska/drogon_docker.git
- name: Login to registry - name: Login to registry
shell: sh shell: sh
run: | run: |
@@ -22,7 +22,6 @@ jobs:
run: | run: |
cd drogon_docker cd drogon_docker
IMAGE="git.nas-technologies.com/lbatuska/drogon" IMAGE="git.nas-technologies.com/lbatuska/drogon"
docker build -f Dockerfile.drogon\ docker build -f Dockerfile.drogon\
--build-arg DROGON_TAG="${{ gitea.ref_name }}" \ --build-arg DROGON_TAG="${{ gitea.ref_name }}" \
-t "$IMAGE:${{ gitea.ref_name }}" \ -t "$IMAGE:${{ gitea.ref_name }}" \

View File

@@ -16,7 +16,7 @@ RUN pacman-key --init && \
pacman -Sy --noconfirm archlinux-keyring && \ pacman -Sy --noconfirm archlinux-keyring && \
pacman -Syu --noconfirm git curl wget c-ares util-linux-libs \ pacman -Syu --noconfirm git curl wget c-ares util-linux-libs \
brotli postgresql-libs hiredis jsoncpp yaml-cpp \ brotli postgresql-libs hiredis jsoncpp yaml-cpp \
zlib openssl gcc cmake ninja meson onetbb && \ zlib openssl gcc15 cmake ninja meson onetbb && \
pacman -Scc --noconfirm pacman -Scc --noconfirm
ADD https://api.github.com/repos/an-tao/drogon/git/refs/tags/"${DROGON_TAG}" /drogon_version.json ADD https://api.github.com/repos/an-tao/drogon/git/refs/tags/"${DROGON_TAG}" /drogon_version.json