You've already forked wakapi-readme-stats
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d267ff74f5 | |||
| b4727335f5 | |||
| 5b1e97a439 | |||
| 4a6a6999aa | |||
| 059750c5ee |
14
.github/workflows/build_image.yml
vendored
14
.github/workflows/build_image.yml
vendored
@@ -14,22 +14,22 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker Buildx 🐋
|
||||
uses: https://github.com/docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Log in to the container registry 🚪
|
||||
uses: https://github.com/docker/login-action@v2
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: jofranmtz
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Extract metadata (tags, labels) for Docker 🏋️
|
||||
id: meta
|
||||
uses: https://github.com/docker/metadata-action@v4
|
||||
uses: docker/metadata-action@v4
|
||||
with:
|
||||
images: jofranmtz/wakapi-readme-stats
|
||||
images: ${{ vars.DOCKERHUB_IMAGE }}
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
|
||||
- name: Build and push Docker image 🏗️
|
||||
uses: https://github.com/docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/releases') }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
|
||||
15
.github/workflows/publish_release.yml
vendored
Normal file
15
.github/workflows/publish_release.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Publish release
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: 1.0
|
||||
|
||||
Reference in New Issue
Block a user