Some checks failed
Build and push docker image / build (push) Failing after 1m36s
25 lines
774 B
YAML
25 lines
774 B
YAML
name: Build and push docker image
|
|
run-name: ${{ gitea.actor }} is building and pushing the docker image 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
if: gitea.ref == 'refs/heads/main'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
with:
|
|
config-inline: |
|
|
[registry.brunner.ninja]
|
|
http = true
|
|
insecure = false
|
|
- name: Build and push Docker image
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: .
|
|
file: ./Dockerfile
|
|
push: true
|
|
tags: "registry.brunner.ninja/feedc0de/less_shitty_proxyjs:${{gitea.sha}},registry.brunner.ninja/feedc0de/less_shitty_proxyjs:latest"
|