mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-09-09 17:42:24 +02:00
v1.0
- Fixed SLEEPTIME not working (always 0) - Refined logging - Added metadata to /info command - Bot now automatically sets own commands for autocompletion
This commit is contained in:
parent
eb0482b8e0
commit
6be403fc58
14 changed files with 116 additions and 53 deletions
34
.github/workflows/on-push.yml
vendored
Normal file
34
.github/workflows/on-push.yml
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
name: Build and Push to Docker Hub on push to any branch
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**.go'
|
||||
- 'go.mod'
|
||||
- 'go.sum'
|
||||
- 'Dockerfile'
|
||||
- '.github/workflows/**'
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{secrets.DOCKERHUB_USERNAME}}
|
||||
password: ${{secrets.DOCKERHUB_TOKEN}}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/riscv64
|
||||
push: true
|
||||
tags: |
|
||||
${{ github.repository }}:${{ github.ref_name }}
|
||||
${{ github.repository }}:commit-${{ github.sha }}
|
Loading…
Add table
Add a link
Reference in a new issue