This commit is contained in:
1 parent
9ec73992db
commit
a9956c194b
2 files changed
+3
-3
No files matched your search
@@ -0,0 +1,25 @@
|
||||
name: Build docker image
|
||||
run-name: ${{ gitea.actor }} is runs ci pipeline
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
push:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: gitea.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@v4
|
||||
- name: Set up Docker Buildx
|
||||
uses: https://github.com/docker/setup-buildx-action@v3
|
||||
with:
|
||||
config-inline: |
|
||||
[registry."git.whimsoc.dev"]
|
||||
http = true
|
||||
insecure = true
|
||||
- name: Build and push Docker image
|
||||
uses: https://github.com/docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: "git.whimsoc.dev/hendrik/openstreetmap-tile-server:${{gitea.sha}},git.whimsoc.dev/hendrik/openstreetmap-tile-server:latest"
|
||||
Reference in new issue
Block a user