mirror of
https://github.com/Kizuren/uLinkShortener.git
synced 2025-12-21 13:06:19 +01:00
Updated github workflow
This commit is contained in:
parent
f2ed606fa9
commit
3308f49962
1 changed files with 12 additions and 12 deletions
24
.github/workflows/release.yml
vendored
24
.github/workflows/release.yml
vendored
|
|
@ -8,19 +8,19 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v2
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
no-cache: true
|
||||
tags: ghcr.io/marcus7i/ulinkshortener:latest
|
||||
|
||||
- name: Build and push Docker image
|
||||
run: |
|
||||
docker buildx build --iidfile /tmp/docker-actions-toolkit-bySVbV/iidfile --tag ghcr.io/marcus7i/ulinkshortener:latest --metadata-file /tmp/docker-actions-toolkit-bySVbV/metadata-file --push .
|
||||
Loading…
Add table
Add a link
Reference in a new issue