trying to use testing branch

This commit is contained in:
mike cullerton 2024-09-12 08:32:08 -04:00
parent 4a918c9b4a
commit ba003f3680

View File

@ -3,6 +3,9 @@ name: build_test_image
on:
push:
branches: ['testing']
pull_request:
branches: [ 'testing' ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@ -74,7 +77,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: testing
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
@ -82,12 +87,13 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
branch: testing
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:testing
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc