Skip to content

Commit d67933a

Browse files
committed
Merge remote-tracking branch 'origin/develop'
Signed-off-by: snipe <[email protected]> # Conflicts: # .all-contributorsrc # CONTRIBUTORS.md
2 parents 0eb3f6b + 3a4fa35 commit d67933a

File tree

22 files changed

+1673
-105
lines changed

22 files changed

+1673
-105
lines changed

.all-contributorsrc

Lines changed: 794 additions & 11 deletions
Large diffs are not rendered by default.

.github/workflows/docker-arm.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Snipe-IT Docker image build for hub.docker.com
2-
name: Docker cross-platform images (Ubuntu and Alpine)
2+
name: Docker ARM images (Ubuntu and Alpine)
33

44
# Run this Build for all pushes to 'master' or develop branch, or tagged releases.
55
# Also run for PRs to ensure PR doesn't break Docker build process
@@ -19,10 +19,10 @@ permissions:
1919
contents: read
2020

2121
jobs:
22-
docker-ubuntu:
22+
docker-ubuntu-arm:
2323
# Ensure this job never runs on forked repos. It's only executed for 'grokability/snipe-it'
2424
if: github.repository == 'grokability/snipe-it'
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-24.04-arm
2626
env:
2727
# Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action)
2828
# For a new commit on default branch (master), use the literal tag 'latest' on Docker image.
@@ -58,15 +58,15 @@ jobs:
5858
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
5959

6060
###############################################
61-
# Build/Push the 'grokability/snipe-it' image
61+
# Build/Push the 'snipe/snipe-it' image
6262
###############################################
6363
# https://github.com/docker/metadata-action
6464
# Get Metadata for docker_build step below
6565
- name: Sync metadata (tags, labels) from GitHub to Docker for 'snipe-it' image
6666
id: meta_build
6767
uses: docker/metadata-action@v5
6868
with:
69-
images: grokability/snipe-it
69+
images: snipe/snipe-it
7070
tags: ${{ env.IMAGE_TAGS }}
7171
flavor: ${{ env.TAGS_FLAVOR }}
7272

@@ -77,17 +77,17 @@ jobs:
7777
with:
7878
context: .
7979
file: ./Dockerfile
80-
platforms: linux/arm64,linux/amd64
80+
platforms: linux/arm64
8181
# For pull requests, we run the Docker build (to ensure no PR changes break the build),
8282
# but we ONLY do an image push to DockerHub if it's NOT a PR
8383
push: ${{ github.event_name != 'pull_request' }}
8484
# Use tags / labels provided by 'docker/metadata-action' above
8585
tags: ${{ steps.meta_build.outputs.tags }}
8686
labels: ${{ steps.meta_build.outputs.labels }}
87-
docker-alpine:
87+
docker-alpine-arm:
8888
# Ensure this job never runs on forked repos. It's only executed for 'grokability/snipe-it'
8989
if: github.repository == 'grokability/snipe-it'
90-
runs-on: ubuntu-latest
90+
runs-on: ubuntu-24.04-arm
9191
env:
9292
# Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action)
9393
# For a new commit on default branch (master), use the literal tag 'latest' on Docker image.
@@ -97,7 +97,7 @@ jobs:
9797
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }},suffix=-alpine
9898
type=ref,event=branch,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }},suffix=-alpine
9999
type=ref,event=tag,suffix=-alpine
100-
type=semver,pattern=v{{major}}-latest-alpine
100+
type=semver,pattern=v{{major}}-latest-alpine
101101
# Define default tag "flavor" for docker/metadata-action per
102102
# https://github.com/docker/metadata-action#flavor-input
103103
# We turn off 'latest' tag by default.
@@ -123,15 +123,15 @@ jobs:
123123
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
124124

125125
###############################################
126-
# Build/Push the 'grokability/snipe-it' image
126+
# Build/Push the 'snipe/snipe-it' image
127127
###############################################
128128
# https://github.com/docker/metadata-action
129129
# Get Metadata for docker_build step below
130130
- name: Sync metadata (tags, labels) from GitHub to Docker for 'snipe-it' image
131131
id: meta_build
132132
uses: docker/metadata-action@v5
133133
with:
134-
images: grokability/snipe-it
134+
images: snipe/snipe-it
135135
tags: ${{ env.IMAGE_TAGS }}
136136
flavor: ${{ env.TAGS_FLAVOR }}
137137

@@ -142,7 +142,7 @@ jobs:
142142
with:
143143
context: .
144144
file: ./Dockerfile.alpine
145-
platforms: linux/arm64,linux/amd64
145+
platforms: linux/arm64
146146
# For pull requests, we run the Docker build (to ensure no PR changes break the build),
147147
# but we ONLY do an image push to DockerHub if it's NOT a PR
148148
push: ${{ github.event_name != 'pull_request' }}

.github/workflows/docker-intel.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ jobs:
5858
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
5959

6060
###############################################
61-
# Build/Push the 'grokability/snipe-it' image
61+
# Build/Push the 'snipe/snipe-it' image
6262
###############################################
6363
# https://github.com/docker/metadata-action
6464
# Get Metadata for docker_build step below
6565
- name: Sync metadata (tags, labels) from GitHub to Docker for 'snipe-it' image
6666
id: meta_build
6767
uses: docker/metadata-action@v5
6868
with:
69-
images: grokability/snipe-it
69+
images: snipe/snipe-it
7070
tags: ${{ env.IMAGE_TAGS }}
7171
flavor: ${{ env.TAGS_FLAVOR }}
7272

@@ -123,15 +123,15 @@ jobs:
123123
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
124124

125125
###############################################
126-
# Build/Push the 'grokability/snipe-it' image
126+
# Build/Push the 'snipe/snipe-it' image
127127
###############################################
128128
# https://github.com/docker/metadata-action
129129
# Get Metadata for docker_build step below
130130
- name: Sync metadata (tags, labels) from GitHub to Docker for 'snipe-it' image
131131
id: meta_build
132132
uses: docker/metadata-action@v5
133133
with:
134-
images: grokability/snipe-it
134+
images: snipe/snipe-it
135135
tags: ${{ env.IMAGE_TAGS }}
136136
flavor: ${{ env.TAGS_FLAVOR }}
137137

0 commit comments

Comments
 (0)