Skip to content

Commit

Permalink
error
Browse files Browse the repository at this point in the history
  • Loading branch information
thakiyudheen committed Jul 12, 2024
1 parent f5dabe0 commit 37091bb
Showing 1 changed file with 22 additions and 17 deletions.
39 changes: 22 additions & 17 deletions .github/workflows/learnup-client .yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,27 @@ jobs:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

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

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: ./
platforms: linux/amd64,linux/arm64
push: true
tags: thakiyudheen/learnup-client:latest
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Create Buildx builder
run: docker buildx create --name mybuilder --use

- name: Inspect Buildx builder
run: docker buildx inspect mybuilder --bootstrap

- name: Build and push Docker image
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--tag thakiyudheen/learnup-client:latest \
--push .

0 comments on commit 37091bb

Please sign in to comment.