Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Docker Image CI

Docker Image CI #13

name: Docker Image CI
on:
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/[email protected]
with:
push: true
tags: |
dnexusjs/discordnexus:${{ github.ref_name }}
ghcr.io/dnexusjs/discordnexus:${{ github.ref_name }}