From e631f133feab64803743d4f2ef74f5028b7fb278 Mon Sep 17 00:00:00 2001 From: CindyvdVries Date: Fri, 14 Jun 2024 20:32:09 +0200 Subject: [PATCH] lowercase and remove metadata action --- .github/workflows/docker_image.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker_image.yml b/.github/workflows/docker_image.yml index 85927589..7a0c5e78 100644 --- a/.github/workflows/docker_image.yml +++ b/.github/workflows/docker_image.yml @@ -10,6 +10,9 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: downcase REPO + run: | + echo "IMAGE_NAME=${IMAGE_NAME,,}" >>${GITHUB_ENV} - name: checkout code uses: actions/checkout@v4 with: @@ -34,13 +37,6 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - - name: Extract metadata for the Docker image - id: meta - uses: docker/metadata-action@v5 - with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - - name: Build and push the Docker image uses: docker/build-push-action@v5 with: @@ -49,4 +45,3 @@ jobs: tags: | ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.PROJECT_VERSION }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file