Remove reference for github #6

Open
xyvs wants to merge 5 commits from develop into main
2 changed files with 22 additions and 7 deletions

View File

@@ -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
View 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