Skip to content

feat: handle password change return value HP-2501 (#376) #26

feat: handle password change return value HP-2501 (#376)

feat: handle password change return value HP-2501 (#376) #26

Workflow file for this run

name: Build and publish a container image
on:
push:
branches: [ "main" ]
# pull_request:
# branches: [ "main" ]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.GHCR_CONTAINER_REGISTRY_USER }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Extract Container metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and publish container image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}