14 Commits
ci-22 ... 0.0.8

Author SHA1 Message Date
Patryk Koreń
9102a9b15a ci11
Some checks failed
Build and Push Docker Image / docker (push) Has been cancelled
2026-01-07 21:29:57 +01:00
Patryk Koreń
3ff9759e1e ci11
Some checks failed
Build and Push Docker Image / docker (push) Has been cancelled
2026-01-07 21:26:36 +01:00
Patryk Koreń
dd2571c09d ci11
Some checks failed
Build and Push Docker Image / docker (push) Has been cancelled
2026-01-07 20:39:37 +01:00
Patryk Koreń
30d0485da3 ci11
Some checks failed
Build and Push Docker Image / docker (push) Has been cancelled
2026-01-07 20:32:10 +01:00
Patryk Koreń
3232abab68 ci10
Some checks failed
Build and Push Docker Image / docker (push) Failing after 39s
2026-01-07 20:29:21 +01:00
Patryk Koreń
6add9f7cad ci9
Some checks failed
Build and Push Docker Image / docker (push) Failing after 57s
2026-01-07 20:25:20 +01:00
Patryk Koreń
e8ca15df06 ci8
Some checks failed
Build and Push Docker Image / docker (push) Failing after 51s
2026-01-07 20:20:55 +01:00
Patryk Koreń
1061864cae ci7
Some checks failed
Build and Push Docker Image / docker (push) Failing after 41s
2026-01-07 20:15:47 +01:00
Patryk Koreń
26449dd5c9 ci6
Some checks failed
Build and Push Docker Image / docker (push) Failing after 37s
2026-01-07 20:14:04 +01:00
Patryk Koreń
72e822950b ci5
Some checks failed
Build and Push Docker Image / docker (push) Failing after 40s
2026-01-07 20:12:32 +01:00
Patryk Koreń
d3396a4c9b ci4
Some checks failed
Build and Push Docker Image / docker (push) Failing after 38s
2026-01-07 20:05:36 +01:00
Patryk Koreń
1269b35dbd ci3
Some checks failed
Build and Push Docker Image / docker (push) Failing after 41s
2026-01-07 20:04:05 +01:00
Patryk Koreń
0163625507 ci2 2026-01-07 20:03:12 +01:00
Patryk Koreń
b28c1e6795 ci
Some checks failed
Build and Push Docker Image / docker (push) Failing after 1m50s
2026-01-07 19:44:39 +01:00

View File

@@ -6,39 +6,39 @@ on:
- '*' # Trigger on any git tag
jobs:
build-image:
runs-on: ubuntu-latest
container:
image: docker:rc-dind
docker:
runs-on: self-hosted
steps:
- name: Install dedps
run: |
apk add --no-cache nodejs npm git
- name: Checkout code
uses: actions/checkout@v3
- name: Build container image
env:
IMAGE_NAME: papryk/dj-spangebob
TAG: ${{ gitea.ref_name }}
- name: Install Podman
run: |
docker build -t "$IMAGE_NAME:$TAG" .
apt-get update
apt-get install -y podman fuse-overlayfs slirp4netns
rm -rf /var/lib/apt/lists/*
- name: Verify Podman
run: |
podman --version
podman info
- name: Build container image
run: |
podman build --storage-driver=vfs -t my-image:latest .
- name: Log in to Docker registry
uses: docker/login-action@v2
env:
REGISTRY: https://gitea.papryk.com
registry: https://gitea.papryk.com
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
run: |
echo "$REGISTRY_PASSWORD" | docker "$REGISTRY" -u "$REGISTRY_USERNAME" --password-stdin
- name: Build and push Docker image
env:
REGISTRY: https://gitea.papryk.com
IMAGE_NAME: Papryk/dj-spangebob
TAG: ${{ gitea.ref_name }}
run: |
docker push "$REGISTRY/$IMAGE_NAME:$TAG"
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: "https://gitea.papryk.com/Papryk/dj-spangebob:${{ gitea.ref_name }}"