Bump guava from 31.1-jre to 32.0.0-jre #152
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test, build, push and deploy | |
on: [push] | |
env: | |
IMAGE: docker.pkg.github.com/${{ github.repository }}/frontendlogger:${{ github.sha }} | |
TZ: Europe/Amsterdam | |
jobs: | |
build: | |
name: CI/CD pipeline | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build and push docker image | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
echo ${GITHUB_TOKEN} | docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY} --password-stdin | |
docker build --tag ${IMAGE} . | |
docker push ${IMAGE} | |
deploy-dev-fss: | |
if: github.ref == 'refs/heads/dev' | |
needs: build | |
runs-on: ubuntu-latest | |
env: | |
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} | |
PRINT_PAYLOAD: true | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Deploy application to dev fss | |
uses: nais/deploy/actions/deploy@v1 | |
if: github.ref == 'refs/heads/dev' | |
env: | |
CLUSTER: dev-fss | |
RESOURCE: nais-q-fss.yaml | |
VAR: version=${{ github.sha }} | |
deploy-prod-fss: | |
if: github.ref == 'refs/heads/master' | |
needs: build | |
runs-on: ubuntu-latest | |
env: | |
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} | |
PRINT_PAYLOAD: true | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Deploy application to prod fss | |
uses: nais/deploy/actions/deploy@v1 | |
env: | |
CLUSTER: prod-fss | |
RESOURCE: nais-fss.yaml | |
VAR: version=${{ github.sha }} |