Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f4e0a03314 | |||
| b1536a2384 | |||
| 3a04b04f64 | |||
| 6d72104631 | |||
| 83223bb939 | |||
| 5393a85b04 |
@@ -66,14 +66,23 @@ jobs:
|
||||
echo "primary=${REGISTRY}:${ENV_TAG}" >> "$GITHUB_OUTPUT"
|
||||
echo "sha=${SHA}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Install docker buildx
|
||||
run: |
|
||||
mkdir -p ~/.docker/cli-plugins
|
||||
BUILDX_URL="https://github.com/docker/buildx/releases/download/v0.20.1/buildx-v0.20.1.linux-amd64"
|
||||
curl -fsSL "$BUILDX_URL" -o ~/.docker/cli-plugins/docker-buildx
|
||||
chmod +x ~/.docker/cli-plugins/docker-buildx
|
||||
docker buildx version
|
||||
|
||||
- name: Build Gitea image
|
||||
run: |
|
||||
TAGS=""
|
||||
for t in ${{ steps.tag.outputs.tags }}; do
|
||||
TAGS="$TAGS -t $t"
|
||||
done
|
||||
docker build \
|
||||
--build-arg GITEA_VERSION="neuron-$(git rev-parse --short HEAD)" \
|
||||
docker buildx build \
|
||||
--load \
|
||||
--build-arg GITEA_VERSION="1.26.1-neuron.$(git rev-parse --short HEAD)" \
|
||||
--build-arg TAGS="sqlite sqlite_unlock_notify" \
|
||||
$TAGS \
|
||||
.
|
||||
|
||||
@@ -14,7 +14,7 @@ type CommitStatus struct {
|
||||
// ID is the unique identifier for the commit status
|
||||
ID int64 `json:"id"`
|
||||
// State represents the status state (pending, success, error, failure)
|
||||
State commitstatus.CommitStatusState `json:"status"`
|
||||
State commitstatus.CommitStatusState `json:"state"`
|
||||
// TargetURL is the URL to link to for more details
|
||||
TargetURL string `json:"target_url"`
|
||||
// Description provides a brief description of the status
|
||||
|
||||
Reference in New Issue
Block a user