You've already forked wakapi-readme-stats
Update registry url for project
All checks were successful
PUBLISH_IMAGE / Publish 'wakapi-readme-stats' image (push) Successful in 32m10s
All checks were successful
PUBLISH_IMAGE / Publish 'wakapi-readme-stats' image (push) Successful in 32m10s
This commit is contained in:
22
.github/workflows/build_image.yml
vendored
22
.github/workflows/build_image.yml
vendored
@@ -2,6 +2,8 @@ name: PUBLISH_IMAGE
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
@@ -9,25 +11,29 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
publish-server-image:
|
||||
name: Publish 'waka-readme-stats' image
|
||||
name: Publish 'wakapi-readme-stats' image
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- 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
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
registry: ${{ vars.DOCKER_REGISTRY }}
|
||||
username: ${{ vars.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- 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
|
||||
tags: |
|
||||
@@ -37,7 +43,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 }}
|
||||
|
||||
Reference in New Issue
Block a user