Skip to content

Merge pull request #1 from 200lab-Education/feat/something #4

Merge pull request #1 from 200lab-Education/feat/something

Merge pull request #1 from 200lab-Education/feat/something #4

Workflow file for this run

name: Build Docker Image
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
push: ${{ github.ref == 'refs/heads/main' }}
tags: minhkhoa0502/learning_repo:${{ github.sha }}