Convert to Codeberg and use ARM64

This commit is contained in:
Korbs 2024-06-01 21:18:14 +00:00
parent 64096ff275
commit 5ef6b6bfcd

View file

@ -1,19 +1,19 @@
kind: pipeline
type: exec
name: Build and Push Docker Image (Quay)
name: Build and Push Docker Image
platform:
os: linux
arch: amd64
arch: arm64
steps:
- name: Build
environment:
QUAY_USERNAME:
from_secret: QUAY_USERNAME
QUAY_PASSWORD:
from_secret: QUAY_PASSWORD
CODEBERG_USERNAME:
from_secret: CODEBERG_USERNAME
CODEBERG_PASSWORD:
from_secret: CODEBERG_PASSWORD
commands:
- echo $QUAY_PASSWORD | docker login quay.io --username $QUAY_USERNAME --password-stdin
- docker build -t quay.io/sudovanilla/poketube .
- docker push quay.io/sudovanilla/poketube
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t codeberg.org/korbs/poke:arm64 .
- docker push codeberg.org/korbs/poke:arm64