Skip to content

Commit

Permalink
try building only on release
Browse files Browse the repository at this point in the history
  • Loading branch information
nickthecook committed Mar 27, 2024
1 parent 5040ff8 commit e7ea244
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ name: Create and publish a Docker image

# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
push:
branches:
- 'main'
release:

# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env:
REGISTRY: ghcr.io
IMAGE_NAME: nickthecook/archyve:latest
IMAGE_NAME: ${{ github.repository }}

# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
jobs:
Expand Down

0 comments on commit e7ea244

Please sign in to comment.