Skip to content

docker ubuntu 23.10 to 24.04 #252

docker ubuntu 23.10 to 24.04

docker ubuntu 23.10 to 24.04 #252

Workflow file for this run

name: Publish Docker image [Develop]
on:
push:
branches:
- 'develop'
- 'custom/atsuchan'
jobs:
push_to_registry:
name: Push Docker image to Docker Hub and GitHub Container Registry
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: atsu1125/misskey_web
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Log in to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push to Docker Hub
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile-develop
push: true
tags: atsu1125/misskey_web:develop
labels: develop
- name: Build and Push to GitHub Container Registry
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile-develop
push: true
tags: ghcr.io/atsu1125/misskey:develop