updated to use master branch
All checks were successful
continuous-integration/woodpecker the build was successful
All checks were successful
continuous-integration/woodpecker the build was successful
This commit is contained in:
parent
f02efde03a
commit
26b92eeb2f
3 changed files with 9 additions and 13 deletions
|
@ -6,7 +6,6 @@ pipeline:
|
||||||
- DOCKER_PASSWORD
|
- DOCKER_PASSWORD
|
||||||
repo: spcodes/activity-relay
|
repo: spcodes/activity-relay
|
||||||
tags:
|
tags:
|
||||||
- 0.1.0
|
|
||||||
- latest
|
- latest
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
@ -23,7 +22,6 @@ pipeline:
|
||||||
registry: cr.sp-codes.de
|
registry: cr.sp-codes.de
|
||||||
repo: cr.sp-codes.de/activity-relay
|
repo: cr.sp-codes.de/activity-relay
|
||||||
tags:
|
tags:
|
||||||
- 0.1.0
|
|
||||||
- latest
|
- latest
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
|
|
@ -2,11 +2,12 @@ FROM python:3.10.0-alpine@sha256:1aac9b1e6201c1a224742e2f9ab0ca37689e6c9754b9438
|
||||||
|
|
||||||
WORKDIR /workdir/
|
WORKDIR /workdir/
|
||||||
|
|
||||||
ENV RELAY_VERSION="0.1.0"
|
ENV RELAY_VERSION="5c5f212d709aa44280f487aae01cf45a458f0762"
|
||||||
|
|
||||||
RUN apk upgrade --no-cache \
|
RUN apk upgrade --no-cache \
|
||||||
&& apk add --no-cache alpine-sdk autoconf automake libtool gcc curl tar \
|
&& apk add --no-cache alpine-sdk autoconf automake libtool gcc git \
|
||||||
&& curl -L "https://git.pleroma.social/pleroma/relay/-/archive/${RELAY_VERSION}/relay-${RELAY_VERSION}.tar.gz" | tar xvz --strip 1 \
|
&& git clone https://git.pleroma.social/pleroma/relay.git . \
|
||||||
|
&& git checkout "${RELAY_VERSION}" \
|
||||||
&& pip3 install .
|
&& pip3 install .
|
||||||
|
|
||||||
CMD ["python", "-m", "relay"]
|
CMD ["python", "-m", "relay"]
|
||||||
|
|
|
@ -10,17 +10,14 @@
|
||||||
"regexManagers": [
|
"regexManagers": [
|
||||||
{
|
{
|
||||||
"fileMatch": [
|
"fileMatch": [
|
||||||
"^Dockerfile$",
|
"^Dockerfile$"
|
||||||
"^.woodpecker.yml$"
|
|
||||||
],
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"\\s+ENV\\s*RELAY_VERSION=\"(?<currentValue>.*?)\"\\s+",
|
"\\s+ENV\\s*RELAY_VERSION=\"(?<currentValue>.*?)\"\\s+"
|
||||||
"\\s+repo:\\s*\\S*\\/activity-relay\\s+tags:[-\\s]+(?<currentValue>.*?)\\s+"
|
|
||||||
],
|
],
|
||||||
"versioningTemplate": "loose",
|
"depNameTemplate": "https://git.pleroma.social/pleroma/relay.git",
|
||||||
"registryUrl": "https://git.pleroma.social",
|
"versioningTemplate": "git",
|
||||||
"depNameTemplate": "pleroma/relay",
|
"datasourceTemplate": "git-refs"
|
||||||
"datasourceTemplate": "gitlab-releases"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
|
|
Reference in a new issue