We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5051313 commit 7213429Copy full SHA for 7213429
2 files changed
.github/workflows/main.yml
@@ -24,3 +24,20 @@ jobs:
24
25
- name: Run tests
26
run: bundle exec rake test
27
+
28
+ docker:
29
+ runs-on: ubuntu-latest
30
+ needs: [tests]
31
+ if: github.ref == 'refs/heads/master'
32
33
+ permissions:
34
+ contents: read
35
+ packages: write
36
+ attestations: write
37
+ id-token: write
38
39
+ steps:
40
+ - name: Docker Build and Push
41
+ uses: cartoway/docker-compose-build-push-action@main
42
+ with:
43
+ registry_password: ${{ secrets.GITHUB_TOKEN }}
docker-compose.yml
@@ -1,7 +1,7 @@
1
services:
2
api:
3
build: .
4
- image: geocoder-api:${CARTOROUTE_VERSION:-latest}
+ image: ghcr.io/cartoway/geocoder-api:${CARTOROUTE_VERSION:-master}
5
ports:
6
- "8081:80" # HOST:CONTAINER, edit only HOST part
7
volumes:
0 commit comments