Skip to content

Compress logs in memory storage (#17) #15

Compress logs in memory storage (#17)

Compress logs in memory storage (#17) #15

Workflow file for this run

name: Build and publish Docker container
on:
push:
branches:
- main
- ghcr
jobs:
build-and-publish:
name: Build and publish Docker container
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to Packages Container registry
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: podman build --tag "ghcr.io/jsha/unboundtest:${GITHUB_SHA}" .
- name: Push
run: podman push "ghcr.io/jsha/unboundtest:${GITHUB_SHA}"
- name: Tag latest
run: podman tag "ghcr.io/jsha/unboundtest:${GITHUB_SHA}" "ghcr.io/jsha/unboundtest/latest"
- name: Push latest
run: podman push "ghcr.io/jsha/unboundtest/latest"