add github action

This commit is contained in:
lukas committed 2023-12-30 16:46:13 +01:00
1 parent 695f451763
commit 6ca462e2d2
21 files changed
+325 -216

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
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