Skip to content

Commit ca94c91

Browse files
authored
Update ci.yml
1 parent 7462b97 commit ca94c91

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ env:
1515
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
1616
FRONTEND_REPO_NAME: "assignment_frontend"
1717
BACKEND_REPO_NAME: "assignment_backend"
18+
version: ${{secrets.version}}
1819

1920
jobs:
2021
build-and-push:
@@ -38,7 +39,7 @@ jobs:
3839
run: |
3940
cd frontend
4041
mv Dockerfile Dockerfile1
41-
sed -i 's/LABEL Maintainer="Rohan"/LABEL Maintainer="shivang"/' Dockerfile1
42+
sed -i 's/LABEL Maintainer="Rohan"/LABEL Maintainer="${version}"/' Dockerfile1
4243
docker build -t "${DOCKERHUB_USERNAME}/${FRONTEND_REPO_NAME}:$GITHUB_RUN_NUMBER" -f Dockerfile1 .
4344
4445
# - name: Build Backend Image

0 commit comments

Comments
 (0)