18 Commits

Author SHA1 Message Date
Patryk Koreń
a116302a10 ci11
Some checks failed
Build and Push Docker Image / build-image (push) Has been cancelled
2026-01-07 21:44:40 +01:00
Patryk Koreń
459174e3c3 ci11
Some checks failed
Build and Push Docker Image / build-image (push) Has been cancelled
2026-01-07 21:41:38 +01:00
Patryk Koreń
78421b9a93 ci11
Some checks failed
Build and Push Docker Image / docker (push) Has been cancelled
2026-01-07 21:33:31 +01:00
Patryk Koreń
b206c734b0 ci11
Some checks failed
Build and Push Docker Image / docker (push) Has been cancelled
2026-01-07 21:31:11 +01:00
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

@@ -0,0 +1,46 @@
name: Build and Push Docker Image
on:
push:
tags:
- '*' # Trigger on any git tag
jobs:
build-image:
runs-on: ubuntu-latest
container:
image: mgoltzsche/podman:5.7.1-minimal
steps:
- name: Install Node.js
run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get update && apt-get install -y nodejs
- name: Checkout code
uses: actions/checkout@v3
- name: Build container image
env:
REGISTRY: https://gitea.papryk.com
IMAGE_NAME: Papryk/dj-spangebob
TAG: ${{ gitea.ref_name }}
run: |
podman build "$REGISTRY/$IMAGE_NAME:$TAG" .
- name: Log in to Docker registry
env:
REGISTRY: https://gitea.papryk.com
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
run: |
echo "$REGISTRY_PASSWORD" | podman login "$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: |
podman push "$REGISTRY/$IMAGE_NAME:$TAG"