Skip to content

feat: ci docker

feat: ci docker #1

on:
push:
paths:
- 'ci/docker/linux/**'
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action
with:
context: .
file: ci/docker/linux/Dockerfile
push: true
tags: latest
labels: linux-ci