File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ jobs:
14
14
uses : actions/checkout@v1
15
15
16
16
- name : Build API image
17
- run : docker build src/api/ --file src/api/Dockerfile --tag robinmanuelthiel/microcommunication-api:$(date +%s) --tag robinmanuelthiel/microcommunication-api:latest
17
+ run : docker build src/api/ --file src/api/Dockerfile --tag robinmanuelthiel/microcommunication-api:${{ github.run_id }}.${{ github.run_attempt }} --tag robinmanuelthiel/microcommunication-api:latest
18
18
19
19
- name : Build Random image
20
- run : docker build src/random/ --file src/random/Dockerfile --tag robinmanuelthiel/microcommunication-random:$(date +%s) --tag robinmanuelthiel/microcommunication-random:latest
20
+ run : docker build src/random/ --file src/random/Dockerfile --tag robinmanuelthiel/microcommunication-random:${{ github.run_id }}.${{ github.run_attempt }} --tag robinmanuelthiel/microcommunication-random:latest
21
21
22
22
- name : Build Web image
23
- run : docker build src/web/ --file src/web/Dockerfile --tag robinmanuelthiel/microcommunication-web:$(date +%s) --tag robinmanuelthiel/microcommunication-web:latest
23
+ run : docker build src/web/ --file src/web/Dockerfile --tag robinmanuelthiel/microcommunication-web:${{ github.run_id }}.${{ github.run_attempt }} --tag robinmanuelthiel/microcommunication-web:latest
24
24
25
25
- name : Login to Docker Hub
26
26
run : docker login --username ${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_PASSWORD }}
You can’t perform that action at this time.
0 commit comments