Skip to content

Commit b5b89c8

Browse files
authored
Revert "Docker multi-arch images push for linux/amd64, linux/arm64 (#4018)"
This reverts commit 5a2c60e.
1 parent eaafe00 commit b5b89c8

File tree

1 file changed

+7
-22
lines changed

1 file changed

+7
-22
lines changed

.github/workflows/docker-publish.yml

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -27,39 +27,24 @@ jobs:
2727
return tagName;
2828
result-encoding: string
2929

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-
4230
- name: Build and push Dev Docker image
43-
uses: docker/build-push-action@v4
31+
uses: docker/build-push-action@v1
4432
with:
4533
push: true
34+
username: ${{ secrets.DOCKERHUB_USERNAME }}
35+
password: ${{ secrets.DOCKERHUB_PASSWORD }}
4636
target: dev
4737
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 }}
5239

5340
# 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
5441
# suitable images for smaller prod environments.
5542
# - name: Build and push prod Docker image
56-
# uses: docker/build-push-action@v4
43+
# uses: docker/build-push-action@v1
5744
# with:
5845
# push: true
46+
# username: ${{ secrets.DOCKERHUB_USERNAME }}
47+
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
5948
# target: prod
6049
# repository: edxops/discovery-prod
6150
# 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

Comments
 (0)