Skip to content

Bump docker/setup-buildx-action from 2 to 3 (#156) #119

Bump docker/setup-buildx-action from 2 to 3 (#156)

Bump docker/setup-buildx-action from 2 to 3 (#156) #119

Workflow file for this run

name: Create and publish Docker image
on:
push:
branches: ['main']
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
push: true
tags: benscobie/loan-repayment-api:latest
context: "{{defaultContext}}:src/LoanRepaymentApi"