Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ee4d67ad2 | ||
|
|
b7db171364 | ||
|
|
87890b5680 | ||
|
|
840acb47ae | ||
|
|
00c766fc5e | ||
|
|
5701c559f2 | ||
|
|
958f61d48f | ||
|
|
bc099a1d42 | ||
|
|
9bd31d4289 | ||
|
|
a00d23a6d1 |
No files matched your search
@@ -15,7 +15,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||||
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
|
||||||
- run: docker build --load -t ci-image:${{ github.sha }} .
|
- run: docker build --load -t ci-image:${{ github.sha }} .
|
||||||
- run: bash tests/test.sh ci-image:${{ github.sha }}
|
- run: bash tests/test.sh ci-image:${{ github.sha }}
|
||||||
build-push:
|
build-push:
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
|
||||||
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
|
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
images: jcabillot/rssbridge
|
images: jcabillot/rssbridge
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=${{ steps.get-latest-tag.outputs.tag }}-latest,enable=${{ steps.get-latest-tag.outputs.tag != '' }}
|
type=raw,value=${{ steps.get-latest-tag.outputs.tag }}-latest,enable=${{ steps.get-latest-tag.outputs.tag != '' }}
|
||||||
- uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
- uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||||
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
|
||||||
- run: docker build --load -t ci-image:${{ github.sha }} .
|
- run: docker build --load -t ci-image:${{ github.sha }} .
|
||||||
- run: bash tests/test.sh ci-image:${{ github.sha }}
|
- run: bash tests/test.sh ci-image:${{ github.sha }}
|
||||||
build:
|
build:
|
||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||||
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
|
||||||
- run: docker build -t jcabillot/rssbridge:${{ github.sha }} .
|
- run: docker build -t jcabillot/rssbridge:${{ github.sha }} .
|
||||||
tag:
|
tag:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
|
|||||||
@@ -15,6 +15,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||||
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
|
||||||
- run: docker build --load -t ci-image:${{ github.sha }} .
|
- run: docker build --load -t ci-image:${{ github.sha }} .
|
||||||
- run: bash tests/test.sh ci-image:${{ github.sha }}
|
- run: bash tests/test.sh ci-image:${{ github.sha }}
|
||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||||
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
|
||||||
- run: docker build --load -t ci-image:${{ github.sha }} .
|
- run: docker build --load -t ci-image:${{ github.sha }} .
|
||||||
- run: bash tests/test.sh ci-image:${{ github.sha }}
|
- run: bash tests/test.sh ci-image:${{ github.sha }}
|
||||||
build-push:
|
build-push:
|
||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||||
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
|
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4
|
||||||
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
|
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
@@ -35,10 +35,40 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
type=ref,event=tag,suffix=-latest
|
type=ref,event=tag,suffix=-latest
|
||||||
- uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
- uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
pull: true
|
pull: true
|
||||||
|
|
||||||
|
release:
|
||||||
|
# Publishes the Gitea release for this tag (body = commits since the previous
|
||||||
|
# tag). Renovate copies that body into the bump PR in
|
||||||
|
# perso_private/tf-depl-kubernetes under "Release Notes"; without a release
|
||||||
|
# that section stays empty (bare "Compare Source" link).
|
||||||
|
needs: [build-push]
|
||||||
|
uses: perso/gitea-pipelines/.gitea/workflows/gitea-release.yaml@main
|
||||||
|
with:
|
||||||
|
image: jcabillot/rssbridge
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
trigger-renovate:
|
||||||
|
# The deployment repo perso_private/tf-depl-kubernetes pins this image; its
|
||||||
|
# Renovate instance only scans hourly, so this dispatch opens the image bump
|
||||||
|
# PR within minutes of the release instead of up to an hour later.
|
||||||
|
needs: [build-push, release]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Trigger Renovate on perso_private/tf-depl-kubernetes
|
||||||
|
# needs: build-push — Renovate reads Docker Hub, so a scan started before
|
||||||
|
# the push lands would only see the previous release.
|
||||||
|
# RENOVATE_TOKEN is the org-level secret of this organisation.
|
||||||
|
run: |
|
||||||
|
curl -sS -f -X POST \
|
||||||
|
-u "renovate:${{ secrets.RENOVATE_TOKEN }}" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{"ref":"main"}' \
|
||||||
|
"https://scm.cabillot.eu/api/v1/repos/perso_private/tf-depl-kubernetes/actions/workflows/renovate.yaml/dispatches"
|
||||||
|
echo "Renovate dispatched on perso_private/tf-depl-kubernetes"
|
||||||
Reference in new issue
Block a user