Update docker-3.1dev.yml

This commit is contained in:
Jauder Ho 2021-08-09 11:58:03 +00:00 committed by GitHub
parent e58ceb7b10
commit c7a9b74e16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -11,7 +11,6 @@ on:
env:
BUILD_VERSION: "3.1dev"
DOCKER_CLI_EXPERIMENTAL: enabled
REPOSITORY: ${{ github.actor }}/testssl.sh
jobs:
@ -34,11 +33,11 @@ jobs:
id: docker_meta
uses: docker/metadata-action@v3
with:
images: ${{ env.REPOSITORY }}
images: ${{ github.repository }}
labels: |
org.opencontainers.image.version=${{ env.BUILD_VERSION }}
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.title=${{ env.REPOSITORY }}
org.opencontainers.image.title=${{ github.repository }}
- name: GitHub login
if: ${{ github.event_name != 'pull_request' }}
@ -60,5 +59,5 @@ jobs:
cache-to: type=gha, scope=${{ github.workflow }}
labels: ${{ steps.docker_meta.outputs.labels }}
tags: |
ghcr.io/${{ env.REPOSITORY }}:${{ env.BUILD_VERSION }}
ghcr.io/${{ env.REPOSITORY }}:latest
ghcr.io/${{ github.repository }}:${{ env.BUILD_VERSION }}
ghcr.io/${{ github.repository }}:latest