mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-04-19 16:01:22 +02:00
Change from ghcr to dockerhub
This commit is contained in:
parent
96db61831c
commit
877852aa67
2 changed files with 5 additions and 11 deletions
14
.github/workflows/docker-on-push.yml
vendored
14
.github/workflows/docker-on-push.yml
vendored
|
@ -2,8 +2,6 @@ name: Build and Push to Docker Hub on changes to master branch
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
|
@ -18,10 +16,8 @@ jobs:
|
|||
- 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
|
||||
|
||||
username: ${{secrets.DOCKERHUB_USERNAME}}
|
||||
password: ${{secrets.DOCKERHUB_TOKEN}}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
|
@ -29,7 +25,5 @@ jobs:
|
|||
platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:master
|
||||
ghcr.io/${{ github.repository }}:commit-${{ github.sha }}
|
||||
|
||||
|
||||
${{ github.repository }}:${{ github.ref_name }}
|
||||
${{ github.repository }}:commit-${{ github.sha }}
|
|
@ -1,6 +1,6 @@
|
|||
services:
|
||||
steamsalty:
|
||||
image: ghcr.io/watn3y/steamsalty:master
|
||||
image: watn3y/steamsalty:master
|
||||
container_name: steamsalty
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
|
|
Loading…
Reference in a new issue