Remove reference for github
Some checks failed
PUBLISH_IMAGE / Publish 'waka-readme-stats' image (push) Has been cancelled

This commit is contained in:
2024-11-05 21:05:25 -05:00
parent 6421f74280
commit 059750c5ee

View File

@@ -14,20 +14,20 @@ jobs:
steps: steps:
- name: Checkout 🛎️ - name: Checkout 🛎️
uses: https://github.com/actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Docker Buildx 🐋 - 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 🚪 - name: Log in to the container registry 🚪
uses: https://github.com/docker/login-action@v2 uses: docker/login-action@v2
with: with:
username: jofranmtz username: jofranmtz
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker 🏋️ - name: Extract metadata (tags, labels) for Docker 🏋️
id: meta id: meta
uses: https://github.com/docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
images: jofranmtz/wakapi-readme-stats images: jofranmtz/wakapi-readme-stats
tags: | tags: |
@@ -37,7 +37,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
- name: Build and push Docker image 🏗️ - name: Build and push Docker image 🏗️
uses: https://github.com/docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/releases') }} push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/releases') }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}