40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
environment: docker
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
name: Check out code
|
|
|
|
- uses: mr-smithers-excellent/docker-build-push@v6
|
|
name: Build & push link2cid Docker image
|
|
with:
|
|
image: futureporn/link2cid
|
|
tags: latest
|
|
registry: gitea.futureporn.net
|
|
dockerfile: link2cid.dockerfile
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
# - 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 }}
|
|
|
|
# docker push gitea.futureporn.net/cj_clippy/link2cid:latest
|
|
|
|
|