Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszchodor authored Sep 22, 2020
1 parent 6b168ca commit 63110e2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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`
Expand Down

0 comments on commit 63110e2

Please sign in to comment.