Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/gulfofmaine/buoy_barn
Browse files Browse the repository at this point in the history
  • Loading branch information
abkfenris committed Aug 12, 2021
2 parents c2970ee + eb149f2 commit 890faf3
Show file tree
Hide file tree
Showing 4 changed files with 261 additions and 242 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,33 @@ jobs:
uses: actions/[email protected]

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v1.5.1

- name: Cache Docker layers
uses: actions/[email protected].5
uses: actions/[email protected].6
with:
path: /tmp/.buildx-cache
key: buoy-barn-buildx-${{ github.sha }}
restore-keys: |
buoy-barn-buildx-
- name: Cache Docker image
uses: actions/[email protected].5
uses: actions/[email protected].6
with:
path: /tmp/myimage.tar
key: buoy-barn-image-${{ github.sha }}
restore-keys: |
buoy-barn-image-
- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v1.10.0
continue-on-error: true
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build Buoy Barn
uses: docker/build-push-action@v2
uses: docker/build-push-action@v2.6.1
with:
context: ./app
push: false
Expand All @@ -64,7 +64,7 @@ jobs:
uses: actions/[email protected]

- name: Cache Docker image
uses: actions/[email protected].5
uses: actions/[email protected].6
with:
path: /tmp/myimage.tar
key: buoy-barn-image-${{ github.sha }}
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
uses: actions/[email protected]

- name: Cache Docker image
uses: actions/[email protected].5
uses: actions/[email protected].6
with:
path: /tmp/myimage.tar
key: buoy-barn-image-${{ github.sha }}
Expand All @@ -116,7 +116,7 @@ jobs:
docker image ls -a
- name: "Login to Docker Hub"
uses: docker/login-action@v1
uses: docker/login-action@v1.10.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
git diff --exit-code && echo 'Already Deployed' || (git commit -am 'Upgrade Buoy Barn to ${{ steps.tagName.outputs.tag }}' && git push)
- name: Create Sentry Release
uses: getsentry/action-release@v1
uses: getsentry/action-release@v1.1.6
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
Expand Down
2 changes: 1 addition & 1 deletion app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#syntax=docker/dockerfile:1.2
FROM python:3.9.4-slim@sha256:d392dc22fd04662597e6c8fe00744e8a285c47255360f3b12ec410238d31e74a
FROM python:3.9.6-slim@sha256:afbbc7a984433377e5a4264d5b57b6e5206b2d53ed55a0b529d1b0daff571120

# Output logging faster
ENV PYTHONUNBUFFERED 1
Expand Down
Loading

0 comments on commit 890faf3

Please sign in to comment.