Skip to content

Commit

Permalink
Remove buildx setup
Browse files Browse the repository at this point in the history
  • Loading branch information
vnntsu committed Jan 19, 2024
1 parent 2692d6e commit eef7ab7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ jobs:
with:
ref: ${{ github.event.workflow_run.head_branch || github.ref }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set BRANCH_TAG
uses: nimblehq/branch-tag-action@v1
with:
Expand All @@ -55,9 +52,9 @@ jobs:
- name: Set DOCKER_IMAGE_TAG env variable
run: |
echo "DOCKER_IMAGE_TAG=${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE }}:${{ env.BRANCH_TAG }}" >> $GITHUB_ENV
echo "DOCKER_IMAGE_TAG=$DOCKER_REGISTRY/$DOCKER_IMAGE:$BRANCH_TAG" >> $GITHUB_ENV
echo "MAKE UP DOCKER IMAGE TAG"
echo ${{ env.DOCKER_IMAGE_TAG }}
echo $DOCKER_IMAGE_TAG
- name: Prepare Docker image
run: |
Expand All @@ -70,7 +67,7 @@ jobs:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_TOKEN }}

- name: Build and push
- name: Docker build and push
uses: docker/build-push-action@v5
with:
context: .
Expand Down

0 comments on commit eef7ab7

Please sign in to comment.