Skip to content

Bump the all-actions group with 3 updates (#1512) #1038

Bump the all-actions group with 3 updates (#1512)

Bump the all-actions group with 3 updates (#1512) #1038

Workflow file for this run

# GitHub Actions for GEOS
#
# Paul Ramsey <pramsey at cleverelephant dot ca>
# Build a geosop container and deploy to GHCR
name: 'Container'
on:
push:
branches:
- main
tags:
- '*.*.*'
paths-ignore:
- 'web/**'
jobs:
container:
name: 'Build container'
if: github.repository == 'libgeos/geos'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
- name: Docker meta
id: meta
uses: docker/metadata-action@v6
with:
images: ghcr.io/libgeos/geosop
# generate Docker tags based on the following events/attributes
tags: |
# set latest tag for main branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{version}}
type=sha,prefix=
- name: Login to GitHub Container Registry
uses: docker/login-action@v4.6.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Get Dockerfile
run: |
cp tools/ci/geosop/Dockerfile .
- name: Build and Push
uses: docker/build-push-action@v7.3.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}