docker build
Publish Docker / Publish-Docker (push) Failing after 2m36s Details

main
HeNine 2 years ago
parent 13bced733d
commit ef712a9482

@ -0,0 +1,24 @@
name: Publish Docker
run-name: ${{ github.actor }} is building ${{ github.repository }}
on:
push:
branches:
- main
jobs:
Publish-Docker:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: https://github.com/actions/checkout@v3
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v2
- name: Build and push
uses: https://github.com/docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: false
tags: ${{ github.repository }}:latest

@ -0,0 +1,8 @@
FROM alpine:3.17
RUN apk update && apk add rust cargo openssl-dev
ENV PATH="/root/.cargo/bin:${PATH}"
RUN cargo install --index https://git.raptorpond.com/henine/_cargo-index.git rulebot
CMD ["rulebot"]
Loading…
Cancel
Save