We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e76fb32 + 6ac74b4 commit faf73c1Copy full SHA for faf73c1
.github/workflows/nextjs.yml
@@ -75,14 +75,14 @@ jobs:
75
76
- name: docker login
77
run: | # log into docker hub account
78
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
+ docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
79
80
- name: Get current date # get the date of the build
81
id: date
82
run: echo "::set-output name=date::$(date +'%Y-%m-%d--%M-%S')"
83
84
- name: Build the Docker image # push The image to the docker hub
85
run: docker build . --file Dockerfile --tag $DOCKER_USER/$REPO_NAME:${{ steps.date.outputs.date }}
86
-
+
87
- name: Docker Push
88
run: docker push $DOCKER_USER/$REPO_NAME:${{ steps.date.outputs.date }}
0 commit comments