mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Replace -u by --username on docker login command
This commit is contained in:
parent
977af0ee43
commit
a32651aab3
2
.github/workflows/docker-image-build.yml
vendored
2
.github/workflows/docker-image-build.yml
vendored
@ -17,6 +17,6 @@ jobs:
|
|||||||
id: buildx
|
id: buildx
|
||||||
uses: crazy-max/ghaction-docker-buildx@v1
|
uses: crazy-max/ghaction-docker-buildx@v1
|
||||||
with:
|
with:
|
||||||
version: latest
|
buildx-version: latest
|
||||||
- name: Build the image
|
- name: Build the image
|
||||||
run: bash ./docker/build
|
run: bash ./docker/build
|
||||||
|
@ -6,8 +6,7 @@ PLATFORMS="linux/arm/v7,linux/arm64/v8,linux/amd64"
|
|||||||
# PLATFORMS="linux/amd64"
|
# PLATFORMS="linux/amd64"
|
||||||
DOCKER_IMAGE="shlinkio/lab"
|
DOCKER_IMAGE="shlinkio/lab"
|
||||||
|
|
||||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
|
||||||
echo "Building version $GITHUB_REF"
|
|
||||||
|
|
||||||
# If ref is not develop, then this is a tag. Build that docker tag and also "stable"
|
# If ref is not develop, then this is a tag. Build that docker tag and also "stable"
|
||||||
if [[ "$GITHUB_REF" != *"develop"* ]]; then
|
if [[ "$GITHUB_REF" != *"develop"* ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user