Skip to content

add restart: on-failure #7

add restart: on-failure

add restart: on-failure #7

Workflow file for this run

name: haconfig/
on:
push:
paths:
- 'haconfig/**'
branches: [ main ]
workflow_dispatch:
jobs:
push-to-github-cr:
name: push image to github container registry
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v2
- name: authenticate to gh container registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build & push image
uses: docker/[email protected]
with:
context: ./haconfig
push: true
tags: ghcr.io/${{ github.repository }}/haconfig:latest