Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff433ebd58 | ||
|
|
a116302a10 |
@@ -9,15 +9,23 @@ jobs:
|
|||||||
build-image:
|
build-image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: mgoltzsche/podman:5.7.1-minimal
|
image: mgoltzsche/podman:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Node.js
|
||||||
|
run: |
|
||||||
|
apk add --no-cache nodejs npm
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
|
env:
|
||||||
|
REGISTRY: https://gitea.papryk.com
|
||||||
|
IMAGE_NAME: Papryk/dj-spangebob
|
||||||
|
TAG: ${{ gitea.ref_name }}
|
||||||
run: |
|
run: |
|
||||||
podman build my-image:latest .
|
podman build "$REGISTRY/$IMAGE_NAME:$TAG" .
|
||||||
|
|
||||||
- name: Log in to Docker registry
|
- name: Log in to Docker registry
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user