We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7462b97 commit ca94c91Copy full SHA for ca94c91
1 file changed
.github/workflows/ci.yml
@@ -15,6 +15,7 @@ env:
15
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
16
FRONTEND_REPO_NAME: "assignment_frontend"
17
BACKEND_REPO_NAME: "assignment_backend"
18
+ version: ${{secrets.version}}
19
20
jobs:
21
build-and-push:
@@ -38,7 +39,7 @@ jobs:
38
39
run: |
40
cd frontend
41
mv Dockerfile Dockerfile1
- sed -i 's/LABEL Maintainer="Rohan"/LABEL Maintainer="shivang"/' Dockerfile1
42
+ sed -i 's/LABEL Maintainer="Rohan"/LABEL Maintainer="${version}"/' Dockerfile1
43
docker build -t "${DOCKERHUB_USERNAME}/${FRONTEND_REPO_NAME}:$GITHUB_RUN_NUMBER" -f Dockerfile1 .
44
45
# - name: Build Backend Image
0 commit comments