diff --git a/.github/workflows/fedora.yaml b/.github/workflows/fedora.yaml index 9975f35..2919a40 100644 --- a/.github/workflows/fedora.yaml +++ b/.github/workflows/fedora.yaml @@ -20,7 +20,7 @@ jobs: id: prepare run: | DOCKER_IMAGE=ghcr.io/mentos1386/env-fedora - DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64 + DOCKER_PLATFORMS=linux/amd64,linux/arm64 VERSION=edge if [[ $GITHUB_REF == refs/tags/* ]]; then diff --git a/.github/workflows/package-starship.yaml b/.github/workflows/packages.yaml similarity index 97% rename from .github/workflows/package-starship.yaml rename to .github/workflows/packages.yaml index ac490a7..645c2f8 100644 --- a/.github/workflows/package-starship.yaml +++ b/.github/workflows/packages.yaml @@ -16,7 +16,7 @@ jobs: id: prepare run: | DOCKER_IMAGE=ghcr.io/mentos1386/starship - DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64 + DOCKER_PLATFORMS=linux/amd64,linux/arm64 VERSION=0.47.0 TAGS="--tag ${DOCKER_IMAGE}:${VERSION} --tag ${DOCKER_IMAGE}:latest" diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index eb8c683..d7fb6d1 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -20,7 +20,7 @@ jobs: id: prepare run: | DOCKER_IMAGE=ghcr.io/mentos1386/env-ubuntu - DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64 + DOCKER_PLATFORMS=linux/amd64,linux/arm64 VERSION=edge if [[ $GITHUB_REF == refs/tags/* ]]; then diff --git a/packages/Dockerfile.starship b/packages/Dockerfile.starship index 4f5e93a..d0347f2 100644 --- a/packages/Dockerfile.starship +++ b/packages/Dockerfile.starship @@ -7,8 +7,9 @@ WORKDIR /usr/src/starship ARG VERSION=0.47.0 -RUN git clone https://github.com/starship/starship.git . \ -&& git checkout tags/v$VERSION +RUN git clone https://github.com/starship/starship.git \ + --branch v$VERSION \ + --depth 1 . RUN cargo build --release