Skip to content

Commit a93583f

Browse files
committed
Merge branch 'develop'
Signed-off-by: Pedro Lamas <[email protected]>
2 parents dfaad04 + b153b64 commit a93583f

File tree

122 files changed

+1271
-1083
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+1271
-1083
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ jobs:
5757
needs: build
5858
if: ${{ github.event_name != 'pull_request' }}
5959
runs-on: ubuntu-latest
60+
permissions:
61+
id-token: write
62+
contents: read
63+
attestations: write
64+
packages: write
6065
steps:
6166
- name: Checkout
6267
uses: actions/checkout@v4
@@ -94,19 +99,31 @@ jobs:
9499
password: ${{ secrets.GITHUB_TOKEN }}
95100

96101
- name: Build and push Docker image
97-
uses: docker/build-push-action@v5
102+
id: docker_push
103+
uses: docker/build-push-action@v6
98104
with:
99105
context: .
100106
file: ./Dockerfile
101107
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
102108
push: true
109+
sbom: true
110+
provenance: true
111+
cache-from: type=gha
112+
cache-to: type=gha,mode=max
103113
tags: ${{ steps.docker_meta.outputs.tags }}
104114
labels: ${{ steps.docker_meta.outputs.labels }}
105115

116+
- name: Attest Docker image
117+
uses: actions/attest-build-provenance@v2
118+
with:
119+
subject-name: ghcr.io/${{ github.repository }}
120+
subject-digest: ${{ steps.docker_push.outputs.digest }}
121+
push-to-registry: true
122+
106123
publish-web:
107124
name: Deploy to Host
108125
needs: build
109-
if: ${{ github.ref == 'refs/heads/develop' }}
126+
if: ${{ github.repository == 'fluidd-core/fluidd' && github.ref == 'refs/heads/develop' }}
110127
runs-on: ubuntu-latest
111128
permissions:
112129
id-token: write

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
echo "current_version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
5151
5252
- name: Read ChangeLog
53-
uses: mindsers/[email protected].0
53+
uses: mindsers/[email protected].3
5454
id: changelog
5555
with:
5656
validation_depth: 1
@@ -88,7 +88,7 @@ jobs:
8888
path: ./dist
8989

9090
- name: Publish Release
91-
uses: eregon/publish-release@v1
91+
uses: eregon/publish-release@v1.0.6
9292
env:
9393
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9494
with:
@@ -97,6 +97,7 @@ jobs:
9797
publish-web:
9898
name: Deploy to Host
9999
needs: build
100+
if: ${{ github.repository == 'fluidd-core/fluidd' }}
100101
runs-on: ubuntu-latest
101102
permissions:
102103
id-token: write

0 commit comments

Comments
 (0)