Skip to content

Commit

Permalink
Add stable build
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Nov 16, 2024
1 parent f3cfe58 commit 18d0c8a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker
name: Docker Latest
on:
push:
branches: [ dev ]
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/docker-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Docker Stable
on:
push:
branches: [ master ]
jobs:
linux:
if: ${{ !contains(github.event.head_commit.message, '[skip.all]') }}
runs-on: self-hosted
timeout-minutes: 60
steps:
- name: Clone
uses: actions/checkout@v4
- name: Login Docker
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login GitHub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Buildx
uses: docker/setup-buildx-action@v3
- name: Build
uses: docker/build-push-action@v6
with:
context: .
file: ./Script/Rocky.Dockerfile
push: true
tags: |
tlcfem/suanpan:stable

0 comments on commit 18d0c8a

Please sign in to comment.