mirror of
https://github.com/yawaflua/yaflay.ru.git
synced 2026-02-04 10:54:12 +02:00
Update docker-image.yml
This commit is contained in:
15
.github/workflows/docker-image.yml
vendored
15
.github/workflows/docker-image.yml
vendored
@@ -4,9 +4,11 @@ on:
|
||||
release:
|
||||
types: [published]
|
||||
push:
|
||||
types: [published]
|
||||
branches: [ "master" ]
|
||||
|
||||
pull_request:
|
||||
types: [published]
|
||||
branches: [ "master" ]
|
||||
|
||||
|
||||
jobs:
|
||||
push_to_registries:
|
||||
@@ -18,7 +20,13 @@ jobs:
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
@@ -31,6 +39,7 @@ jobs:
|
||||
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
||||
with:
|
||||
images: |
|
||||
yaflay/yaflay.ru
|
||||
ghcr.io/${{ github.repository }}
|
||||
|
||||
- name: Build and push Docker images
|
||||
|
||||
Reference in New Issue
Block a user