32 lines
621 B
YAML
32 lines
621 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build-and-push:
|
|
runs-on: docker
|
|
|
|
steps:
|
|
- name: debug path
|
|
run: echo "$PATH"
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Login to codeberg
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: codeberg.org
|
|
username: aiquiral
|
|
password: ${{ secrets.PASS }}
|
|
|
|
- name: Build and push image
|
|
id: build
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: .
|
|
push: true
|
|
tags: retropulse:latest
|
|
platforms: linux/amd64
|