mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-10 00:46:08 -06:00
I wondre if this works
This commit is contained in:
parent
ba149568a5
commit
760f7e1888
26
.github/workflows/docker-image.yml
vendored
26
.github/workflows/docker-image.yml
vendored
@ -11,9 +11,23 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build and push the Docker image
|
||||
run: |
|
||||
docker login -u "hargata" -p "${{ secrets.GHCR_PAT }}" ghcr.io
|
||||
docker build . --file Dockerfile --tag ghcr.io/hargata/lubelogger:latest
|
||||
docker push ghcr.io/hargata/lubelogger:latest
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: "hargata"
|
||||
password: "${{ secrets.GHCR_PAT }}"
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/hargata/lubelogger:latest
|
||||
Loading…
x
Reference in New Issue
Block a user