mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-06-07 07:11:01 +02:00
v0.1
This commit is contained in:
parent
6aa64b6287
commit
3ec330e3a2
16 changed files with 408 additions and 1 deletions
38
.github/workflows/docker-on-push.yml
vendored
Normal file
38
.github/workflows/docker-on-push.yml
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
name: Build and Push to Docker Hub on changes to master branch
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{github.actor}}
|
||||
password: ${{secrets.GHCR_TOKEN}} # needs read:packages, write:packages. delete:packages
|
||||
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:master
|
||||
ghcr.io/${{ github.repository }}:commit-${{ github.sha }}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue