gmessages/.forgejo/workflows/package.yaml
Sean Greenawalt f4b4214521
Some checks failed
/ publish_package (push) Failing after 12s
dd docker context to workflow
2024-06-25 21:13:36 -04:00

32 lines
867 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