mirror of
https://github.com/Kizuren/uLinkShortener.git
synced 2025-12-21 21:16:17 +01:00
Updated github workflow
This commit is contained in:
parent
3308f49962
commit
5a5bcef1cb
1 changed files with 11 additions and 12 deletions
23
.github/workflows/release.yml
vendored
23
.github/workflows/release.yml
vendored
|
|
@ -8,19 +8,18 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- uses: actions/checkout@v3
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
- name: Log in to GHCR
|
||||||
- name: Set up Docker Buildx
|
uses: docker/login-action@v2
|
||||||
uses: docker/setup-buildx-action@v1
|
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
|
||||||
uses: docker/login-action@v1
|
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push
|
||||||
run: |
|
uses: docker/build-push-action@v4
|
||||||
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 .
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: ghcr.io/${{ github.repository_owner | lower }}/ulinkshortener:latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue