Github: Fix docker build arguments

This commit is contained in:
Matthew Wild 2020-05-13 14:16:55 +01:00
parent d948fd3dec
commit dd842bd064
2 changed files with 4 additions and 4 deletions

View File

@ -15,8 +15,8 @@ jobs:
run: >-
docker build . \
--file docker/Dockerfile \
--buildarg=BUILD_SERIES=dev \
--buildarg=BUILD_ID="$(echo "$GITHUB_SHA" | head -c 12)" \
--build-arg=BUILD_SERIES=dev \
--build-arg=BUILD_ID="$(echo "$GITHUB_SHA" | head -c 12)" \
--tag snikket/snikket:dev
- name: Log into registry
run: echo "${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}" | docker login -u snikket --password-stdin

View File

@ -18,8 +18,8 @@ jobs:
RELEASE_VER="${RELEASE_TAG#$RELEASE_SERIES.}"
docker build . \
--file docker/Dockerfile \
--buildarg=BUILD_SERIES="$RELEASE_SERIES" \
--buildarg=BUILD_ID="$RELEASE_VER" \
--build-arg=BUILD_SERIES="$RELEASE_SERIES" \
--build-arg=BUILD_ID="$RELEASE_VER" \
--tag snikket/snikket:"$RELEASE_SERIES"
- name: Log into registry
run: echo "${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}" | docker login -u snikket --password-stdin