15 Commits

Author SHA1 Message Date
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,44 @@
name: Build and Push Docker Image
on:
push:
tags:
- '*' # Trigger on any git tag
jobs:
docker:
runs-on: gitea-runner-1
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Podman
run: |
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_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: "https://gitea.papryk.com/Papryk/dj-spangebob:${{ gitea.ref_name }}"