Skip to content

Set version to 2.3.0 #142

Set version to 2.3.0

Set version to 2.3.0 #142

# Builds and pushes docker images on main and tags
name: Build and Push Docker image
on:
push:
branches:
- main
tags:
- '*'
jobs:
build:
if: github.repository == 'geoserver/geoserver-acl'
name: Build and Push
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Validate source code formatting
run: |
make lint
- name: Make package
run: |
make package
- name: Build docker image
run: |
make build-image
- name: Push docker image
run: |
make push-image