aurcache/.github/workflows/docker-build.yml

26 lines
529 B
YAML
Raw Normal View History

2023-12-30 15:46:13 +00:00
name: Build and Push Docker Image
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: luki42
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push Docker image
run: |
docker build -t luki42/aurcache:latest .
docker push luki42/aurcache:latest