Skip to content

Update docker.sh

Update docker.sh #118

Workflow file for this run

## "GitHub's Ubuntu action runners come with Podman preinstalled". See in https://github.com/redhat-actions/podman-login
name: podman test
on:
push:
env:
REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ github.token }}
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
jobs:
nodejs:
runs-on: ubuntu-latest
steps:
- run: loginctl enable-linger $(whoami)
# validating https://github.com/quarckster/blog.misharov.pro/discussions/14#discussioncomment-3556833
- run: systemctl restart --user podman
- uses: actions/checkout@v2
- run: npm i
working-directory: nodejs
- run: npm run podman-test
working-directory: nodejs
- name: Log in to ghcr.io
uses: redhat-actions/podman-login@v1
with:
username: ${{ env.REGISTRY_USER }}
password: ${{ env.REGISTRY_PASSWORD }}
registry: ${{ env.IMAGE_REGISTRY }}