mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-10-23 09:22:24 +00:00
Dockerhub gnuxie/draupnir (#2)
Change old matrix.org/mjolnir references in github actions.
This commit is contained in:
1 parent
cccace8ef8
commit
bb125b3828
3 files changed
+13
-10
No files matched your search
@@ -1,12 +1,14 @@
|
||||
# Copied from https://github.com/matrix-org/matrix-bifrost/blob/develop/.github/workflows/docker-hub-latest.yml
|
||||
|
||||
name: "Docker Hub - Latest"
|
||||
name: "Docker Hub - Develop"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
DOCKER_NAMESPACE: matrixdotorg
|
||||
DOCKER_NAMESPACE: gnuxie
|
||||
PLATFORMS: linux/amd64
|
||||
# Only push if this is main, otherwise we just want to build
|
||||
PUSH: ${{ github.ref == 'refs/heads/main' }}
|
||||
@@ -20,8 +22,8 @@ jobs:
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Build image
|
||||
uses: docker/build-push-action@v2
|
||||
@@ -31,4 +33,4 @@ jobs:
|
||||
platforms: ${{ env.PLATFORMS }}
|
||||
push: ${{ env.PUSH }}
|
||||
tags: |
|
||||
${{ env.DOCKER_NAMESPACE }}/mjolnir:latest
|
||||
${{ env.DOCKER_NAMESPACE }}/draupnir:develop
|
||||
@@ -7,7 +7,7 @@ on:
|
||||
types: [published]
|
||||
|
||||
env:
|
||||
DOCKER_NAMESPACE: matrixdotorg
|
||||
DOCKER_NAMESPACE: gnuxie
|
||||
PLATFORMS: linux/amd64
|
||||
|
||||
jobs:
|
||||
@@ -21,8 +21,8 @@ jobs:
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Build image
|
||||
uses: docker/build-push-action@v2
|
||||
@@ -32,4 +32,5 @@ jobs:
|
||||
platforms: ${{ env.PLATFORMS }}
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.DOCKER_NAMESPACE }}/mjolnir:${{ env.RELEASE_VERSION }}
|
||||
${{ env.DOCKER_NAMESPACE }}/draupnir:${{ env.RELEASE_VERSION }}
|
||||
${{ env.DOCKER_NAMESPACE }}/draupnir:latest
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Mjolnir
|
||||
name: Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
Reference in new issue
Block a user