Skip to content

Commit

Permalink
set env variables docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Garcia Ordonez committed Aug 28, 2024
1 parent 3e605e9 commit 4c3140e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/dockerhub_login.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
set -euo pipefail
IFS=$'\n\t'

export DOCKER_REGISTRY ?= itisfoundation
export DOCKER_IMAGE_NAME ?= dummy
export DOCKER_IMAGE_TAG ?= $(shell cat VERSION 2> /dev/null || echo undefined)

# check needed variables are defined
if [ ! -v DOCKER_USERNAME ] ||\
[ ! -v DOCKER_PASSWORD ] ||\
Expand Down

0 comments on commit 4c3140e

Please sign in to comment.