Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: havenweb/haven
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: DrMxrcy/haven
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 8 commits
  • 1 file changed
  • 1 contributor

Commits on Aug 24, 2022

  1. Update docker-image.yml

    DrMxrcy authored Aug 24, 2022
    Copy the full SHA
    a3336e4 View commit details
  2. Update docker-image.yml

    DrMxrcy authored Aug 24, 2022
    Copy the full SHA
    40358e9 View commit details
  3. Update docker-image.yml

    DrMxrcy authored Aug 24, 2022
    Copy the full SHA
    8c92dfc View commit details
  4. Update docker-image.yml

    DrMxrcy authored Aug 24, 2022
    Copy the full SHA
    9c8a493 View commit details
  5. Update docker-image.yml

    DrMxrcy authored Aug 24, 2022
    Copy the full SHA
    1041ba5 View commit details
  6. Update docker-image.yml

    DrMxrcy authored Aug 24, 2022
    Copy the full SHA
    b7efc77 View commit details

Commits on Oct 5, 2022

  1. Copy the full SHA
    3771e92 View commit details

Commits on Jan 15, 2023

  1. Copy the full SHA
    b520ccd View commit details
Showing with 22 additions and 11 deletions.
  1. +22 −11 .github/workflows/docker-image.yml
33 changes: 22 additions & 11 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -13,19 +13,30 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ghcr.io/havenweb/haven:$(echo $GITHUB_SHA | head -c7) --tag ghcr.io/havenweb/haven:latest

- name: Checkout
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository_owner }}/haven
tags: |
type=sha,prefix={{branch}}-
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push image to GitHub
if: github.ref == 'refs/heads/master'
run: |
docker push ghcr.io/havenweb/haven:$(echo $GITHUB_SHA | head -c7)
docker push ghcr.io/havenweb/haven:latest
password: ${{ secrets.GH_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}