Geoserver Data dir conf Docker Image (Build and Push) #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Geoserver Data dir conf Docker Image (Build and Push) | |
on: | |
push: | |
branches: [ "master" ] | |
paths: | |
- "docker/geoserver_data_dir/**" | |
pull_request: | |
branches: [ "master" ] | |
paths: | |
- "docker/geoserver_data_dir/**" | |
release: | |
types: [published] | |
tags: | |
- geoserver_data_dir_* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
file: ./docker/geoserver_data_dir/Dockerfile | |
context: "./docker/geoserver_data_dir/" | |
push: ${{github.event_name == 'push'}} | |
tags: giohappy/geoserver_data_dir:${{ github.ref }} |