Skip to content

Commit 9eb92d0

Browse files
authored
Corrected order of steps to ensure package.json is accessible
1 parent 766406f commit 9eb92d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
docker:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Determine package.json version as DOCKER_IMAGE_TAG environment variable
13-
run: echo "DOCKER_IMAGE_TAG=$(jq -r '.version' package.json)" >> $GITHUB_ENV
1412
- name: Checkout
1513
uses: actions/checkout@v4
14+
- name: Determine package.json version as DOCKER_IMAGE_TAG environment variable
15+
run: echo "DOCKER_IMAGE_TAG=$(jq -r '.version' package.json)" >> $GITHUB_ENV
1616
- name: Log in to Docker Hub
1717
uses: docker/login-action@v3
1818
with:

0 commit comments

Comments
 (0)