From 63110e235dfbda0238cfdb49a5af59686e4c12fe Mon Sep 17 00:00:00 2001 From: Mateusz Chodor Date: Tue, 22 Sep 2020 12:56:42 +0200 Subject: [PATCH] Update docker-publish.yml --- .github/workflows/docker-publish.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 9e3b672..5daec31 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -10,7 +10,7 @@ on: env: # TODO: Change variable to your image's name. - IMAGE_NAME: equipmentManager-php + IMAGE_NAME: equipmentmanager-php COMPOSER_VERSION: ${{ secrets.COMPOSER_VERSION }} jobs: @@ -23,9 +23,7 @@ jobs: - uses: actions/checkout@v2 - name: Build image - run: | - IMAGE_NAME=$(echo $IMAGE_NAME | tr '[A-Z]' '[a-z]') - docker build . --file ./php-alpine/Dockerfile --build-arg COMPOSER_VERSION=$COMPOSER_VERSION --tag $IMAGE_NAME + run: docker build . --file ./php-alpine/Dockerfile --build-arg COMPOSER_VERSION=$COMPOSER_VERSION --tag $IMAGE_NAME - name: Log into GitHub Container Registry # TODO: Create a PAT with `read:packages` and `write:packages` scopes and save it as an Actions secret `CR_PAT`