Skip to content

Commit

Permalink
Merge branch 'hotfix/containerization'
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBoatyMcBoatFace committed Sep 20, 2023
2 parents fb62d92 + e92cb32 commit b5fedfe
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/containerize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,16 @@ name: Build and publish 🐳 images
on:
push:


workflow_dispatch:


env:
GHCR_REGISTRY: ghcr.io
DOCKERHUB_REGISTRY: docker.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
name: πŸ—οΈπŸ“€ Build and push 🐳 image
name: Build 🐳 image
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -53,13 +51,10 @@ jobs:
type=raw,prefix={{branch}}-,value=latest,priority=200,enable=${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,value={{branch}},priority=500
# Caching | https://docs.docker.com/build/ci/github-actions/cache/
- name: πŸ—οΈπŸ“€ Build and push 🐳 image
uses: docker/[email protected]
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# cache-from: type=gha
# cache-to: type=gha,mode=max

0 comments on commit b5fedfe

Please sign in to comment.