add a workflow
Some checks are pending
ci / docker (push) Waiting to run

This commit is contained in:
R.J. 2025-01-31 01:14:32 +01:00
parent f4b53351ab
commit 1fe88dff18
No known key found for this signature in database
GPG key ID: D85876B31F4275CF

View file

@ -0,0 +1,32 @@
name: ci
on:
push:
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: user/app:latest