Skip to content

Commit

Permalink
Fix multiline in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kunze committed Dec 22, 2021
1 parent 97666dc commit 14f539c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build image
run: >
docker build
--file Dockerfile.basic
--tag "${REGISTRY}/${IMAGE_NAME}-basic:$(date +'%Y.%W')"
--tag "${REGISTRY}/${IMAGE_NAME}-basic:latest"
run: |
docker build \
--file Dockerfile.basic \
--tag "${REGISTRY}/${IMAGE_NAME}-basic:$(date +'%Y.%W')" \
--tag "${REGISTRY}/${IMAGE_NAME}-basic:latest" \
.
- name: Push to registry ${{ env.REGISTRY }}
Expand Down Expand Up @@ -67,12 +67,12 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build image
run: >
docker build
--file Dockerfile.full
--build-arg "VERSION=$(date +'%Y.%W')"
--tag "${REGISTRY}/${IMAGE_NAME}-full:$(date +'%Y.%W')"
--tag "${REGISTRY}/${IMAGE_NAME}-full:latest"
run: |
docker build \
--file Dockerfile.full \
--build-arg "VERSION=$(date +'%Y.%W')" \
--tag "${REGISTRY}/${IMAGE_NAME}-full:$(date +'%Y.%W')" \
--tag "${REGISTRY}/${IMAGE_NAME}-full:latest" \
.
- name: Push to registry ${{ env.REGISTRY }}
Expand Down

0 comments on commit 14f539c

Please sign in to comment.