gmessages/.forgejo/workflows/package.yaml
Sean Greenawalt cb7447154a
All checks were successful
/ publish_package (push) Successful in 2m13s
Fix formatting on secret
2024-06-25 21:15:19 -04:00

32 lines
868 B
YAML

on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
publish_package:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: 'amd64'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
endpoint: multiarch
- name: Login to Container Registry
uses: docker/login-action@v3
with:
registry: git.spgrn.com
username: seang96
password: ${{ secrets.TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: git.spgrn.com/${{ env.GITHUB_REPOSITORY }}:dev