Skip to content

Fix tests and improve ci job following @zerpet advice #46

Fix tests and improve ci job following @zerpet advice

Fix tests and improve ci job following @zerpet advice #46

name: Spring Authorization Server docker image (make)

Check failure on line 1 in .github/workflows/authorization-server-make.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/authorization-server-make.yaml

Invalid workflow file

(Line: 34, Col: 9): Unexpected value 'context'
on:
push:
branches:
- main
paths:
- .github/workflows/authorization-server-make.yaml
- selenium/authorization-server
pull_request:
paths:
- .github/workflows/authorization-server-make.yaml
- selenium/authorization-server
env:
REGISTRY_IMAGE: pivotalrabbitmq/spring-authorization-server
IMAGE_TAG: 0.0.10
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: CHECKOUT REPOSITORY
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6
context: selenium/authorization-server
with:
push: true
tags: ${{ env.REGISTRY_IMAGE }}:${{ env.IMAGE_TAG }}