1
0
mirror of https://github.com/tommytran732/Synapse-Docker synced 2024-11-25 05:31:33 -05:00

Compare commits

..

2 Commits

Author SHA1 Message Date
c756ed72f5
Re-add version tag
Signed-off-by: Tommy <contact@tommytran.io>
2024-06-15 19:11:19 -07:00
4e246a7196
Daily update for GitHub actions
Signed-off-by: Tommy <contact@tommytran.io>
2024-06-15 14:56:43 -07:00
2 changed files with 13 additions and 0 deletions

6
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

View File

@ -29,6 +29,11 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Extract version for tags
run: |
echo "FULL_VERSION=$(grep -oP '(?<=SYNAPSE_VERSION=).*' Dockerfile)" >> $GITHUB_ENV
echo "MAJOR_VERSION=$(grep -oP '(?<=SYNAPSE_VERSION=).*' Dockerfile | head -c5)" >> $GITHUB_ENV
- name: Install cosign - name: Install cosign
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@v3 uses: sigstore/cosign-installer@v3
@ -51,6 +56,8 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: | tags: |
latest latest
${{ env.FULL_VERSION }}
${{ env.MAJOR_VERSION }}
- name: Build and push Docker image - name: Build and push Docker image
id: build-and-push id: build-and-push