Skip to content

Commit 1149c56

Browse files
committed
lint + try again on stable force
Signed-off-by: clux <[email protected]>
1 parent 0f68cc6 commit 1149c56

File tree

4 files changed

+31
-27
lines changed

4 files changed

+31
-27
lines changed

.github/dependabot.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"

.github/workflows/nightly.yml

+13-16
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
arch: arm64
3535
target_dir: aarch64-unknown-linux-musl
3636
steps:
37-
- uses: 'actions/checkout@v2'
37+
- uses: actions/checkout@v2
3838
- uses: extractions/setup-just@v1
3939

4040
- name: Login to DockerHub
@@ -67,7 +67,7 @@ jobs:
6767
context: .
6868
platforms: ${{ matrix.platform }}
6969
labels: ${{ steps.meta.outputs.labels }}
70-
file: ${{ matrix.dockerfile }}
70+
file: ${{ matrix.dockerfile }}
7171
push: false
7272
load: true
7373
tags: rustmusl-temp
@@ -109,7 +109,7 @@ jobs:
109109
110110
docker tag rustmusl-temp ${{ env.REGISTRY_IMAGE }}:$TAG_NAME
111111
docker push ${{ env.REGISTRY_IMAGE }}:$TAG_NAME
112-
112+
113113
- name: Upload tags
114114
uses: actions/upload-artifact@v4
115115
with:
@@ -125,30 +125,28 @@ jobs:
125125
- build
126126
steps:
127127

128-
-
129-
name: Download tags
128+
- name: Download tags
130129
uses: actions/download-artifact@v4
131130
with:
132131
path: /tmp/tags
133132
name: tags
134-
135-
-
136-
name: Set up Docker Buildx
133+
134+
- name: Set up Docker Buildx
137135
uses: docker/setup-buildx-action@v3
138-
-
139-
name: Docker meta
136+
137+
- name: Docker meta
140138
id: meta
141139
uses: docker/metadata-action@v5
142140
with:
143141
images: ${{ env.REGISTRY_IMAGE }}
144-
-
145-
name: Login to Docker Hub
142+
143+
- name: Login to Docker Hub
146144
uses: docker/login-action@v3
147145
with:
148146
username: clux
149147
password: ${{ secrets.DOCKERHUB_TOKEN }}
150-
-
151-
name: Create manifest list and push multi-platform images
148+
149+
- name: Create manifest list and push multi-platform images
152150
run: |
153151
RUST_DATE=$(cat /tmp/tags/rust-date)
154152
RUST_CHANNEL=$(cat /tmp/tags/rust-channel)
@@ -160,7 +158,6 @@ jobs:
160158
${{ env.REGISTRY_IMAGE }}:arm64-${RUST_VER}-${RUST_CHANNEL}-${RUST_DATE}
161159
done
162160
163-
-
164-
name: Inspect image
161+
- name: Inspect image
165162
run: |
166163
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:latest

.github/workflows/stable.yml

+11-10
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
arch: arm64
3535
target_dir: aarch64-unknown-linux-musl
3636
steps:
37-
- uses: 'actions/checkout@v2'
37+
- uses: actions/checkout@v2
3838
- uses: extractions/setup-just@v1
3939

4040
- name: Login to DockerHub
@@ -80,7 +80,7 @@ jobs:
8080
context: .
8181
platforms: ${{ matrix.platform }}
8282
labels: ${{ steps.meta.outputs.labels }}
83-
file: ${{ matrix.dockerfile }}
83+
file: ${{ matrix.dockerfile }}
8484
push: false
8585
load: true
8686
tags: rustmusl-temp
@@ -143,18 +143,19 @@ jobs:
143143
needs:
144144
- build
145145
steps:
146-
- uses: 'actions/checkout@v2'
146+
- uses: actions/checkout@v2
147147
- name: Check if we need a new stable
148148
id: stablecheck
149149
shell: bash
150150
run: |
151-
pip3 install --user toml
152-
if python3 check_stable.py; then
153-
echo "Stable tag missing; running all build steps"
154-
echo '::set-output name=BUILD::YES'
155-
else
156-
echo "Stable tag found; skipping all build steps"
157-
fi
151+
echo '::set-output name=BUILD::YES'
152+
#pip3 install --user toml
153+
#if python3 check_stable.py; then
154+
# echo "Stable tag missing; running all build steps"
155+
# echo '::set-output name=BUILD::YES'
156+
#else
157+
# echo "Stable tag found; skipping all build steps"
158+
#fi
158159
159160
- name: Download tags
160161
if: ${{ steps.stablecheck.outputs.BUILD }}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![stable](https://github.com/clux/muslrust/actions/workflows/stable.yml/badge.svg)](https://github.com/clux/muslrust/actions/workflows/stable.yml)
55
[![docker pulls](https://img.shields.io/docker/pulls/clux/muslrust.svg)](https://hub.docker.com/r/clux/muslrust/tags)
66

7-
A docker environment for building **static** rust binaries for `x86_64` **linux** environments using **[musl](https://musl.libc.org/)**. Built daily via [github actions](https://github.com/clux/muslrust/actions).
7+
A docker environment for building **static** rust binaries for `x86_64` and `arm64` **linux** environments using **[musl](https://musl.libc.org/)**. Built daily via [github actions](https://github.com/clux/muslrust/actions).
88

99
Binaries compiled with `muslrust` are **light-weight**, call straight into the kernel without other dynamic system library dependencies, can be shipped to most linux distributions without compatibility issues, and can be inserted as-is into lightweight docker images such as [static distroless](https://github.com/GoogleContainerTools/distroless/blob/main/base/README.md), [scratch](https://hub.docker.com/_/scratch), or [alpine](https://hub.docker.com/_/alpine).
1010

0 commit comments

Comments
 (0)