@@ -27,39 +27,24 @@ jobs:
27
27
return tagName;
28
28
result-encoding : string
29
29
30
- - name : Set up Docker Buildx
31
- uses : docker/setup-buildx-action@v2
32
-
33
- - name : Set up QEMU
34
- uses : docker/setup-qemu-action@v2
35
-
36
- - name : Login to DockerHub
37
- uses : docker/login-action@v2
38
- with :
39
- username : ${{ secrets.DOCKERHUB_USERNAME }}
40
- password : ${{ secrets.DOCKERHUB_PASSWORD }}
41
-
42
30
- name : Build and push Dev Docker image
43
- uses : docker/build-push-action@v4
31
+ uses : docker/build-push-action@v1
44
32
with :
45
33
push : true
34
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
35
+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
46
36
target : dev
47
37
repository : edxops/discovery-dev
48
- tags : |
49
- edxops/discovery-dev:${{ steps.get-tag-name.outputs.result }}
50
- edxops/discovery-dev:${{ github.sha }}
51
- platforms : linux/amd64,linux/arm64
38
+ tags : ${{ steps.get-tag-name.outputs.result }},${{ github.sha }}
52
39
53
40
# The current priority is to get the devstack off of Ansible based Images. Once that is done, we can come back to this part to get
54
41
# suitable images for smaller prod environments.
55
42
# - name: Build and push prod Docker image
56
- # uses: docker/build-push-action@v4
43
+ # uses: docker/build-push-action@v1
57
44
# with:
58
45
# push: true
46
+ # username: ${{ secrets.DOCKERHUB_USERNAME }}
47
+ # password: ${{ secrets.DOCKERHUB_PASSWORD }}
59
48
# target: prod
60
49
# repository: edxops/discovery-prod
61
50
# tags: ${{ steps.get-tag-name.outputs.result }},${{ github.sha }}
62
- # tags: |
63
- # edxops/discovery-prod:${{ steps.get-tag-name.outputs.result }}
64
- # edxops/discovery-prod:${{ github.sha }}
65
- # platforms: linux/amd64,linux/arm64
0 commit comments