fix action

This commit is contained in:
Benjamin Gamard 2022-01-21 13:37:31 +01:00 committed by GitHub
parent c9262eb204
commit 58f81ec851
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ jobs:
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
- -
name: Login to DockerHub name: Login to DockerHub
if: github.event_name != "pull_request" if: github.event_name != 'pull_request'
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
@ -63,13 +63,13 @@ jobs:
type=ref,event=push type=ref,event=push
type=ref,event=tag type=ref,event=tag
labels: | labels: |
org.opencontainers.image.title = Sismics Teedy org.opencontainers.image.title = Teedy
org.opencontainers.image.description = Sismics Teedy is an open source, lightweight document management system for individuals and businesses. org.opencontainers.image.description = Teedy is an open source, lightweight document management system for individuals and businesses.
org.opencontainers.image.created = ${{ github.event_created_at }} org.opencontainers.image.created = ${{ github.event_created_at }}
org.opencontainers.image.author = Sismics org.opencontainers.image.author = Sismics
org.opencontainers.image.url = https://teedy.info/ org.opencontainers.image.url = https://teedy.io/
org.opencontainers.image.vendor = Sismics org.opencontainers.image.vendor = Sismics
org.opencontainers.image.license = GPL v2 org.opencontainers.image.license = GPLv2
org.opencontainers.image.version = ${{ github.event_head_commit.id }} org.opencontainers.image.version = ${{ github.event_head_commit.id }}
- -
name: Build and push name: Build and push
@ -79,4 +79,4 @@ jobs:
context: . context: .
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.metadata.outputs.tags }} tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }} labels: ${{ steps.metadata.outputs.labels }}