Update docker-image.yml
parent
3fbab6c512
commit
ae2a08e79c
|
@ -16,7 +16,6 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
IMAGE_NAME: ${{ toLower(github.repository) }}
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -34,6 +33,8 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Set image name to lowercase
|
||||
run: echo "IMAGE_NAME=$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
|
@ -102,6 +103,8 @@ jobs:
|
|||
- build-and-push
|
||||
if: github.event_name != 'pull_request'
|
||||
steps:
|
||||
- name: Set image name to lowercase
|
||||
run: echo "IMAGE_NAME=$(echo '${{ github.repository }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
|
||||
- name: Download digests
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue