Skip to content

Commit

Permalink
Remove action for creating docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
inkfarer committed Jul 19, 2024
1 parent f253c4e commit ff56cab
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,45 +99,3 @@ jobs:
github_token: ${{ secrets['GITHUB_TOKEN'] }}
branch: build
directory: ./sj-overlays

docker-image:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
needs:
- lint-deploy

permissions:
contents: read
packages: write

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

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit ff56cab

Please sign in to comment.