Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions .github/workflows/publish-result-pr-build.yaml

This file was deleted.

31 changes: 22 additions & 9 deletions .github/workflows/publish-result-pr-docker-publish.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,32 @@
name: Publish Result PR - Docker publish
name: Publish to GHCR

on: [workflow_dispatch]

jobs:
publish:
publish-docker-image:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v4

- name: Build and push to GHCR
- name: Prepare .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x"

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push to GitHub Container Registry
working-directory: publish-results-pr
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
docker build -t ghcr.io/akosdudas/ahk-publish-results-pr:v1 .
docker push ghcr.io/akosdudas/ahk-publish-results-pr:v1
docker logout https://ghcr.io
docker build -t ghcr.io/tanaiadam/publish-result:latest .
docker push ghcr.io/tanaiadam/publish-result:latest
5 changes: 0 additions & 5 deletions publish-results-pr/.devcontainer/Dockerfile

This file was deleted.

25 changes: 0 additions & 25 deletions publish-results-pr/.devcontainer/devcontainer.json

This file was deleted.

18 changes: 0 additions & 18 deletions publish-results-pr/.editorconfig

This file was deleted.

1 change: 0 additions & 1 deletion publish-results-pr/.gitattributes

This file was deleted.

Loading