This commit is contained in:
parent
a27544d4de
commit
687e389c83
|
@ -4,8 +4,28 @@ on:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
do-nothing:
|
build-and-push:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Test"
|
- name: Checkout repository
|
||||||
run: echo "This action is for testing."
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue