Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
Merge container and dockerhub workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
grisu48 committed May 24, 2022
1 parent 672846d commit 0e796a3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 36 deletions.
31 changes: 29 additions & 2 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

name: Create and publish Container
name: Create and publish containers

'on':
release:
Expand All @@ -11,7 +11,34 @@ env:
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
dockerhub image:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: grisu48/orion:latest

GitHub image:
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/dockerhub.yml

This file was deleted.

0 comments on commit 0e796a3

Please sign in to comment.