freat(workflow): use podman instead of docker
Some checks failed
build image / build (push) Failing after 56s
Some checks failed
build image / build (push) Failing after 56s
This commit is contained in:
parent
d292afbec2
commit
fd6e7dfa86
1 changed files with 14 additions and 13 deletions
|
@ -13,19 +13,20 @@ jobs:
|
|||
build:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: latest
|
||||
- run: apt-get update && apt-get install -y --no-install-recommends docker.io
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: code.bcarlin.net
|
||||
username: ${{ vars.REGISTRY_USER }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install podman
|
||||
run: |
|
||||
apt-get update && apt-get install -y --no-install-recommends podman
|
||||
|
||||
- name: Login to registry
|
||||
run: |
|
||||
echo ${REGISTRY_TOKEN} \
|
||||
| podman login -u ${REGISTRY_USER} --password-stdin code.bcarlin.net
|
||||
env:
|
||||
REGISTRY_USER: ${{ vars.REGISTRY_USER }}
|
||||
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue