Fingerlink/.forgejo/workflows/docker.yml
Karcsesz 8eafcf86b9
All checks were successful
/ docker build (push) Successful in 1m22s
/ cargo test (push) Successful in 19s
Server only docker image, but the action's documentation is apparently wrong.
2024-04-01 16:55:07 +02:00

27 lines
No EOL
715 B
YAML

on:
push:
branches:
- master
jobs:
docker:
name: docker build
runs-on: ubuntu-22.04
steps:
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME}}
password: ${{ secrets.DOCKERHUB_TOKEN}}
- uses: docker/build-push-action@v5
with:
push: true
tags: karcsesz/fingerlink:latest
- uses: docker/build-push-action@v5
with:
push: true
tags: karcsesz/fingerlink:latest-nano
build-args: "editor=nano"
- uses: docker/build-push-action@v5
with:
push: true
tags: karcsesz/fingerlink:latest-server
file: Dockerfile.serveonly