Skip to content

Commit db2d686

Browse files
committed
fix: workflow
1 parent 58cd1eb commit db2d686

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/build-docker-image.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,9 @@ jobs:
2626
GO111MODULE: on
2727
run: |
2828
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
29-
- name: Build the Docker image
30-
run: docker buildx build \
31-
--platform=linux/arm64,linux/amd64 \
32-
--tag ${{ secrets.DOCKER_USER }}/http-proxy:$GITHUB_REF_NAME \
33-
--file Dockerfile \
29+
- name: Build and Push the Docker image
30+
run: docker buildx build
31+
--platform=linux/arm64,linux/amd64
32+
--tag ${{ secrets.DOCKER_USER }}/http-proxy:$GITHUB_REF_NAME
33+
--file Dockerfile
3434
--push .
35-
36-
- name: Docker Push
37-
run: docker push ${{ secrets.DOCKER_USER }}/http-proxy:$GITHUB_REF_NAME

0 commit comments

Comments
 (0)