Skip to content

Commit 0a62354

Browse files
committed
Actions bugfix
1 parent 39f1494 commit 0a62354

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
IMAGE_NAME: us-data-downloader-yfinance
11-
VERSION: latest
11+
1212
jobs:
1313

1414
build:
@@ -18,7 +18,8 @@ jobs:
1818
steps:
1919
- name: Set environment variables
2020
run: |
21-
echo "VERSION=${date +%s}" >> $GITHUB_ENV
21+
echo "VERSION=$(date +%s)" >> $GITHUB_ENV
22+
echo "VERSION=${VERSION}"
2223
- uses: actions/checkout@v2
2324
- name: Build the Docker image
2425
run: docker build . --file Dockerfile --tag $IMAGE_NAME:${VERSION}

0 commit comments

Comments
 (0)