Skip to content

Commit

Permalink
fix: remove stable sections
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson2427 committed Oct 10, 2024
1 parent 14eccde commit 77fdcaf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 53 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,8 @@ jobs:
tags: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=ref,event=tag
type=ref,event=pr
- name: Extract metadata (tags, labels) for Docker (Stable)
id: meta-stable
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=stable,enable=${{ startsWith(github.ref, 'refs/tags/') }}
type=ref,event=tag
type=ref,event=pr
- name: Show tags
Expand All @@ -51,10 +44,6 @@ jobs:
for tag in ${{ steps.meta.output.tags }}; do
echo $tag
done
echo "Tags generated by metadata-stable-action:\n"
for tag in ${{ steps.meta-stable.output.tags }}; do
echo $tag
done
- name: Extract version from tag
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -79,18 +68,6 @@ jobs:
build-args: |
BASE_APE_IMAGE_TAG=stable
- name: Build and push stable
if: ${{ github.event_name != 'pull_request' }}
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile.stable
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta-stable.outputs.tags }}
labels: ${{ steps.meta-stable.outputs.labels }}
build-args: |
BASE_APE_IMAGE_TAG=stable
- name: Fetch all tags and store them
run: |
# List all tags
Expand Down
29 changes: 0 additions & 29 deletions Dockerfile.stable

This file was deleted.

0 comments on commit 77fdcaf

Please sign in to comment.