Skip to content

Commit c12b801

Browse files
authored
fix env file not linking to full path (#2)
1 parent 3d13b8e commit c12b801

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ steps:
1717

1818
- id: mender
1919
name: Create mender artifact
20-
uses: quartx-analytics/mender-docker-compose@v1.1.0
20+
uses: quartx-analytics/mender-docker-compose@v1.1.1
2121
with:
2222
compose-file: "docker-compose.yml"
2323
software-name: "project-name"

docker-compose

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ case "$STATE" in
2929
COMPOSE_FILE=$(jq -r ".compose_file" "$FILES"/header/meta-data)
3030
PROJECT_NAME=$(jq -r ".project_name" "$FILES"/header/meta-data)
3131
ENVFILE=$(jq -r ".envfile" "$FILES"/header/meta-data)
32-
docker-compose --file "$FILES"/files/"$COMPOSE_FILE" --env-file "$ENVFILE" --project-name "$PROJECT_NAME" pull
33-
docker-compose --file "$FILES"/files/"$COMPOSE_FILE" --env-file "$ENVFILE" --project-name "$PROJECT_NAME" up --detach --no-color --remove-orphans
32+
docker-compose --file "$FILES"/files/"$COMPOSE_FILE" --env-file "$FILES"/files/"$ENVFILE" --project-name "$PROJECT_NAME" pull
33+
docker-compose --file "$FILES"/files/"$COMPOSE_FILE" --env-file "$FILES"/files/"$ENVFILE" --project-name "$PROJECT_NAME" up --detach --no-color --remove-orphans
3434
;;
3535

3636
ArtifactRollback)

0 commit comments

Comments
 (0)