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