fp/.gitea/workflows/builder.yaml

40 lines
1.1 KiB
YAML
Raw Normal View History

2024-03-29 07:28:02 +00:00
name: ci
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
2024-03-29 08:03:12 +00:00
environment: docker
2024-03-29 07:28:02 +00:00
steps:
- uses: actions/checkout@v3
name: Check out code
- uses: mr-smithers-excellent/docker-build-push@v6
2024-04-24 22:37:49 +00:00
name: Build & push link2cid Docker image
2024-03-29 07:28:02 +00:00
with:
2024-04-25 00:25:53 +00:00
image: futureporn/link2cid
2024-03-29 07:28:02 +00:00
tags: latest
2024-04-25 00:25:53 +00:00
registry: gitea.futureporn.net
2024-04-24 22:37:49 +00:00
dockerfile: link2cid.dockerfile
2024-03-29 07:28:02 +00:00
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
2024-04-24 22:37:49 +00:00
# - uses: mr-smithers-excellent/docker-build-push@v6
# name: Build & push next Docker image
# with:
# image: futureporn/next
# tags: latest
# # which 'registry:' version do I need?
# registry: gitea.futureporn.net
# # registry: https://gitea.futureporn.net/futureporn
# dockerfile: next.dockerfile
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
2024-03-29 07:28:02 +00:00
# docker push gitea.futureporn.net/cj_clippy/link2cid:latest