This commit is contained in:
parent
89f1ecadbc
commit
588e6db76a
@ -14,7 +14,16 @@ jobs:
|
||||
registry: git.whimsoc.dev/hendrik/openstreetmap-tile-server
|
||||
username: ${{ gitea.repository_owner }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
- name: Build and push
|
||||
# - name: Set up Docker Buildx
|
||||
# uses: docker/setup-buildx-action@v3
|
||||
# - name: Build and push Docker image
|
||||
# uses: https://github.com/docker/build-push-action@v6
|
||||
# with:
|
||||
# context: .
|
||||
# file: ./Dockerfile
|
||||
# push: true
|
||||
# tags: "git.whimsoc.dev/hendrik/openstreetmap-tile-server:${{gitea.sha}},git.whimsoc.dev/hendrik/openstreetmap-tile-server:latest"
|
||||
- name: Build and push
|
||||
run: |
|
||||
TODAY=$(date +'%Y-%m-%d')
|
||||
docker build -t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:${TODAY} -t ${REGISTRY}/${REPO_OWNER}/${IMAGE_NAME}:latest .
|
||||
|
||||
Loading…
Reference in New Issue
Block a user