Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: Build
on:
push:
branches:
- '*'
tags-ignore:
- '*'
paths-ignore:
- 'bumpver.toml'
jobs:
build:
name: build, lint, and test hysds-integration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# -- Build --
- name: Build
run: docker build -t "ngap-dit-proxy:$(cat version.txt)" .
- name: Tag as latest
if: github.ref == 'refs/heads/main'
run: docker tag ghcr.io/podaac/ngap-dit-proxy:$(cat version.txt) ghcr.io/podaac/ngap-dit-proxy:latest
- name: Publish Docker images
run: docker image push -a ghcr.io/podaac/ngap-dit-proxy