mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-02 01:58:28 +02:00
Merge branch '3.2' into ci/docker-prefer-dist-local
This commit is contained in:
11
.github/workflows/docker-3.2.yml
vendored
11
.github/workflows/docker-3.2.yml
vendored
@ -20,6 +20,9 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- name: lowercase the repository name
|
||||
run: echo "REPO=${GITHUB_REPOSITORY@L}" >> "${GITHUB_ENV}"
|
||||
|
||||
- name: Source checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@ -35,11 +38,11 @@ jobs:
|
||||
id: docker_meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ github.repository }}
|
||||
images: ${{ env.REPO }}
|
||||
labels: |
|
||||
org.opencontainers.image.version=${{ env.GIT_BRANCH }}
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.title=${{ github.repository }}
|
||||
org.opencontainers.image.title=${{ env.REPO }}
|
||||
|
||||
- name: GitHub login
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
@ -60,5 +63,5 @@ jobs:
|
||||
cache-to: type=gha, scope=${{ github.workflow }}
|
||||
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:${{ env.GIT_BRANCH }}
|
||||
ghcr.io/${{ github.repository }}:latest
|
||||
ghcr.io/${{ env.REPO }}:${{ env.GIT_BRANCH }}
|
||||
ghcr.io/${{ env.REPO }}:latest
|
||||
|
2
.github/workflows/unit_tests.yml
vendored
2
.github/workflows/unit_tests.yml
vendored
@ -12,7 +12,7 @@ on:
|
||||
- '**.html'
|
||||
- 'LICENSE'
|
||||
- 'Dockerfile'
|
||||
- 'Dockerfile-alpine'
|
||||
- 'Dockerfile.alpine'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
Reference in New Issue
Block a user