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:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -9,25 +11,29 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-server-image:
|
publish-server-image:
|
||||||
name: Publish 'waka-readme-stats' image
|
name: Publish 'wakapi-readme-stats' image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout 🛎️
|
- name: Checkout 🛎️
|
||||||
uses: https://github.com/actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- 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
|
registry: ${{ vars.DOCKER_REGISTRY }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
username: ${{ vars.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- 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 +43,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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user