14 Commits

Author SHA1 Message Date
Patryk Koreń
8be88fd4c7 ci11
Some checks failed
Build and Push Docker Image / build-image (push) Has been cancelled
2026-01-07 22:12:45 +01:00
Patryk Koreń
ab021d1512 ci11
Some checks failed
Build and Push Docker Image / build-image (push) Has been cancelled
2026-01-07 22:09:48 +01:00
Patryk Koreń
4e944da7e1 ci11
Some checks failed
Build and Push Docker Image / build-image (push) Has been cancelled
2026-01-07 21:59:40 +01:00
Patryk Koreń
41d040167b ci11
Some checks failed
Build and Push Docker Image / build-image (push) Has been cancelled
2026-01-07 21:58:35 +01:00
Patryk Koreń
cbe9ca8691 ci11
Some checks failed
Build and Push Docker Image / build-image (push) Has been cancelled
2026-01-07 21:56:55 +01:00
Patryk Koreń
79841b30c9 ci11
Some checks failed
Build and Push Docker Image / build-image (push) Failing after 32s
2026-01-07 21:50:19 +01:00
Patryk Koreń
3d7f6eeddf ci11
Some checks failed
Build and Push Docker Image / build-image (push) Has been cancelled
2026-01-07 21:48:10 +01:00
Patryk Koreń
ff433ebd58 ci11
Some checks failed
Build and Push Docker Image / build-image (push) Has been cancelled
2026-01-07 21:46:48 +01:00
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

View File

@@ -6,27 +6,40 @@ on:
- '*' # Trigger on any git tag
jobs:
docker:
build-image:
runs-on: ubuntu-latest
container:
image: docker:latest
steps:
- name: Install dedps
run: |
apk add --no-cache nodejs npm git
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build container image
env:
REGISTRY: https://gitea.papryk.com
IMAGE_NAME: papryk/dj-spangebob
TAG: ${{ gitea.ref_name }}
run: |
docker build -t "$IMAGE_NAME:$TAG" .
- 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" | podman login "$REGISTRY" -u "$REGISTRY_USERNAME" --password-stdin
- 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 }}"
env:
REGISTRY: https://gitea.papryk.com
IMAGE_NAME: Papryk/dj-spangebob
TAG: ${{ gitea.ref_name }}
run: |
podman push "$REGISTRY/$IMAGE_NAME:$TAG"