Skip to content

Commit

Permalink
Merge pull request #30 from ItaloMedici/ci/adjust-docker-tag
Browse files Browse the repository at this point in the history
ci: adjust docker tag
  • Loading branch information
ItaloMedici authored Aug 27, 2024
2 parents 994d773 + 7ef84b3 commit 46f8104
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ name: Create and publish a Docker image

on:
push:
branches: ['release']
branches:
- 'main'
tags:
- 'v*'
workflow_dispatch:


env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
VERSION: latest

jobs:
build-and-push-image:
Expand All @@ -35,7 +37,7 @@ jobs:
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
id: push
Expand All @@ -57,6 +59,6 @@ jobs:
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}:${{ env.VERSION }}
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
5 changes: 1 addition & 4 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
},
"github": {
"release": true,
"releaseName": "v${version}",
"releaseNotes": {
"filePath": "CHANGELOG.md"
}
"releaseName": "v${version}"
},
"npm": {
"publish": false
Expand Down
Binary file modified app/favicon.ico
Binary file not shown.

0 comments on commit 46f8104

Please sign in to comment.