From 744fd38dfd00ac546a0a2c479c816100152c81a6 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 20 Oct 2023 23:52:29 +0900 Subject: [PATCH] updated .drone.yml --- .drone.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8593a195..d07cd2de 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,20 +7,19 @@ platform: arch: amd64 steps: - - name: rockylinux-9 - image: docker.io/rockylinux:9 + - name: rocky9 + image: docker.io/hyunghwan/gcc.rocky9 commands: - - dnf -y install --enablerepo=devel mysql-devel libffi-devel rpm-build gcc gcc-c++ - find . -exec touch -r {} + - - mkdir -p bld/rockylinux-9 && cd bld/rockylinux-9 + - mkdir -p bld/rocky9 && cd bld/rocky9 - ../../configure && make && make check && make rpm - - name: rockylinux-9-release-rpms + - name: rocky9-release-rpms image: docker.io/plugins/gitea-release:latest settings: files: - - "bld/rockylinux-9/pkgs/RPM/RPMS/*/*.rpm" - - "bld/rockylinux-9/pkgs/RPM/SRPMS/*.src.rpm" + - "bld/rocky9/pkgs/RPM/RPMS/*/*.rpm" + - "bld/rocky9/pkgs/RPM/SRPMS/*.src.rpm" base_url: https://code.miflux.com api_key: from_secret: gitea-api-key-to-code-miflux-com